chat_core_attachment_download: use sqlite3_column_text for null-term on_msg_inserted: copy data to local null-term buf before strstr Both caused b64_decode to misread body from garbage memory