pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] bug in uulib/fptools.c + patch


From: Jarek Sobieszek
Subject: [Pan-devel] bug in uulib/fptools.c + patch
Date: Fri, 12 May 2006 15:49:30 +0200

Hello,

The optimization (wrt. the original uulib) of _FP_fgets function in
uulib/fptools.c introduced a quite serious bug. The last character of
long lines gets overwritten. Whan parsing headers the library
introduces spurious file, when its length is multiple of 254.

I've noticed this, when some of the attachements didn't get saved
without any message. BTW, it would be good if some kind of error
message was printed in task-article.cc:on_finished when item->state is
not UUFILE_OK.

Attached is a patch which fixes this problem.

Regards,
Jarek

Attachment: fptools.diff.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]