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
Attachment:
pgpcFfsOtFZbj.pgp
Description: PGP signature
- References:
- 2.6.13-mm3
- From: Andrew Morton <[email protected]>
- Re: 2.6.13-mm3 [OOPS] vfs, page_owner, full reproductively, badness in vsnprintf
- From: Michal Piotrowski <[email protected]>
- Re: 2.6.13-mm3 [OOPS] vfs, page_owner, full reproductively, badness in vsnprintf
- From: Alexander Nyberg <[email protected]>
- 2.6.13-mm3
- Prev by Date: Re: [PATCH 2.6.13 5/14] sas-class: sas_discover.c Discover process (end devices)
- Next by Date: Re: 2.6.13-mm2
- Previous by thread: Re: 2.6.13-mm3 [OOPS] vfs, page_owner, full reproductively, badness in vsnprintf
- Next by thread: Re: 2.6.13-mm3 [OOPS] vfs, page_owner, full reproductively, badness in vsnprintf
- Index(es):