the dud "ISO-8859-" is the buffer initializer which i
believe is caused by norm_charmap being asked to work on its own output.
i've fixed this by malloc()ing that buffer; see attached patch.
Thanks! However ... that will result in a memory leak, yes? Okay,
you'll point out that nmh is terrible on memory management and I won't
disagree, but I don't think that's an excuse for making it worse.
Fixing this properly either means we need to be much more clever in
norm_charmap(), or always allocate a buffer and fix every caller of
norm_charmap(). Sigh.
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers