Re: corrupted/short PDF attachments

Michael Richardson <[email protected]> Wed, 04 Mar 2026 11:20:51 -0500
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain


Ken Hornstein <[email protected]> wrote:
    >> > 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.
    >>
    >> with master branch, no error... argh.

    > git-bisect?

It's my patch to fix the trailing NULs.
That was kinda a given :-)
I have /sandel/nmh/subdir as my prefix now, with some symlinks so that I can
switch branches/builds easily to be sure.

Now, with the patch, file attaches will be one byte short.
I suspect a 4:3 base64 encoding tickles something, but I dunno yet.
I will have to look through the tests and see if I can't augment them with
two tests.   I am unaware of what unit testing we have, but I guess I'll find
out.



--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     [email protected]  http://www.sandelman.ca/        |   ruby on rails    [



--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmmoW+MACgkQgItw+93Q
3WVZ7gf/ZkJAF6NenBiV+d/Rm0EYzZi4BhZmFTaHuudTsYSlZNwlb30En9SXE4ae
IumrmvfdmNq9EYgLWoSmHiWIqvOYcfKSyyWgEbvj8PxEaqHi/NUJ4s+pZJ+3x4Q1
G1Rpk+lX0ljt9cZJZJRW1CUNUrwH+vdD1H1tQv2TdEHTdHChroPFBHGIJ7hc/vPk
cREAOYUzTwZCBNcR5isn9y8OdZQLCX9DsxIFI30o1qIXEM4ItSnvYp5rtMfyqbMD
KNypMRv9KWPJEf+dwgw3Mr1iEPTW9tB5E+wtZ0sfSz01+MWJSVdLj0ZaCBJAhnYg
AaLguevw1Wm5WikplZLPlXeFk6p9Nw==
=q5a6
-----END PGP SIGNATURE-----
--=-=-=--