[pkg-fetchmail-maint] Bug#449179: fetchmail: smbutil.c:90: unicodeToString: Assertion `len+1 < sizeof buf' failed.

Matthias Andree matthias.andree at gmx.de
Sun May 24 12:33:43 UTC 2009


Hi,

apparently the asserts were off-by-one; however as static buffers suck,  
find attached a patch that fixes the bug for good by using dynamic  
allocation. Note this is not the same as the SVN patch, the latter also  
touches whitespace; this one omits whitespace differences for easier audit.

Note that the patch is untested, because I do not use NTLM and have no  
NTLM account.

Please audit and test.

Best regards

-- 
Matthias Andree





More information about the pkg-fetchmail-maint mailing list