corrupted/short PDF attachments
Michael Richardson <[email protected]> Mon, 09 Feb 2026 20:48:24 +0100
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <1892521.1770666504@dyas> |
--=-=-= Content-Type: text/plain A number of times, but not AFAIK, universally, when I file attach PDFs, the resulting attachment is one byte short. The copy in my outbox is wrong, and look at this, even mhstore has a problem: dyas-[/var/tmp](3.3.8) mcr 10144 %mhstore +outgoing 165 storing message 165 part 1.1 as file 165.1.1.txt mhstore: premature ending (bitno 0) near ZgoyMjMyNDMKJSVFT0YK storing message 165 part 2 as file 165.2.pgp-signature well, I was going to show the file before and after, but it seems I can't easily do that. I saw this 1-2 times in the last month. I don't attach a lot of files, so it could be 100% of the time. obiwan-[life/taxes/2023](3.3.8) mcr 10202 %ls -l 2023MichaelRichardson-NOA.pdf -rw-r--r-- 1 mcr rvm 223638 Apr 1 2024 2023MichaelRichardson-NOA.pdf That was the file. Yes, info for my banker. It's not an odd number of bytes. It *is* a multiple of three (which matters to base64) Maybe there an interaction with GnuPG signing, and I'll investigate this next. I am running with my patch to sbr/m_getfld.c: commit 7b0091cfa1f88dfbcef75106d60ac9269f9f7d83 (HEAD -> missing-zero-bytes-read, savannah/missing-zero-bytes-read) I'm not sure if it got merged yet, I think not. I'll rebase it. I'm posting as a FYI. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | network architect [ ] [email protected] http://www.sandelman.ca/ | ruby on rails [ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmmKOgcACgkQlUzhVv38 QpA5+gf/U4p7znZWRVKysPTScw5R+EAg8tSHWSC6afOQDzmfvMC7HhTzlbZzvE6d ZTEupi+aZF8kjGaOMXxUWqJcu4nKaniEalPBPt9CbwVA18YzV3JzDKTbtHc29+lW l2itXo8Ynz3d9d90LvsAAUTyXTYHfQH/QAl8pnIJyWpF671REpkGuv8DY1DBshZD uk6laf4/In7EX6QO4/R78XZniLbu58ldwYcqTmcrOWhAw+GuytvNyLW6F85Xz6hd 3r3aqREtKGPWn1JWlqJUIWsbcLRuGddss9nIk4uff4LTvgw5ez6idKFtmLEOWicF rG8zxV34HCeDPJ0cNt8aHHcGlK7umA== =sDzf -----END PGP SIGNATURE----- --=-=-=--