Hi Ken, > > If this is what I think it is ... you know, I think this truncation > > is benign.
What if benign truncations were trunccpy(), instead of the strncpy dance where the reader is unsure if it's benign or not, and then abortcpy() could be the strncpy() replacement that aborts on truncation, with all the previously mentioned get-a-rounds? Obviously, abortcpy is bad and should be sought and destroyed over time, but meanwhile it puts strncpy into one of two camps, with the remaining strncpy standing out as still needing analysis. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
