nmh-workers
[Top] [All Lists]

[Nmh-workers] bug in decode_rfc2047()

2013-01-02 20:38:36
I've been slow to adapt to the multibyte world, so I
tripped over a bug in decode_rfc2047():

  12  12/31 "Sears"            2013 New Year?s Deals! Start the yearr right

scan really did produce "yearr", wrongly.  valgrind noticed,
too.

The fix was to properly decrement a byte counter when
incrementing a corresponding buffer pointer.  If anyone
wants to review the fix:

http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=3af3288f3acdfe29d3c17aefd9e0453ac3204541

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>