From: Ralph Corderoy Date: Fri, 11 Nov 2016 23:23:11 +0000 (+0000) Subject: m_getfld: Shorten fdelimlen by one; it was too long. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/36a12f6a1a5a57799e48b23fd5ae47fe2351be68?hp=36a12f6a1a5a57799e48b23fd5ae47fe2351be68 m_getfld: Shorten fdelimlen by one; it was too long. The fdelimlen bytes starting at fdelim included a NUL at the end, e.g. 7 for "\nFrom \0". Other code seems not to expect this and has conditional bits to work around it, perhaps without understanding why. All the tests still pass, including with valgrind. ---