lkml.org 
[lkml]   [2005]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.13-mm3 [OOPS] vfs, page_owner, full reproductively, badness in vsnprintf
Date
On Monday 12 September 2005 19:54, Alexander Nyberg wrote:
> Gah, I'm such a fantastic programmer.
>
> I don't know what mc is up to but the error checking in read_page_owner
> is flawed wrt snprintf which could cause the 'size' argument to snprintf
> to become negative and if so overwrite beyond 'buf'.

To prevent this, clever people invented the seq_file-API.
Even more clever people tend to use it :-)

I personally love it!


Regards

Ingo Oeser

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-09-12 20:52    [W:0.043 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site