Buffer overflow in CGI kioslave?

Michael Pyne michael.pyne at kdemail.net
Tue Jun 20 22:21:41 BST 2006


On Tuesday 20 June 2006 05:03, Juergen Pfennig wrote:
> Hi,
>
> somebody reported a CGI bug the causes addition spaces to be inserted
> in the output HTML. Unfortunately I have to confirm this. The bug happens
> if the output is lengthy and becomes not always visible. But is still
> reproducable.
>
> Could it be that the fread() function returns unicode? If so then there
> is a badly sized buffer declared:

No, that's not the reason.  fread() always reads in bytes, not characters.

I will look at the bug (the bug number is 118550 btw) if you could give me an 
example of a testcase (assuming I don't construct an example by myself).

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060620/ac0ff1f2/attachment.sig>


More information about the kfm-devel mailing list