lkml.org 
[lkml]   [2008]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateFri, 4 Jan 2008 01:54:21 -0600
FromPaul Jackson <>
SubjectRe: [PATCH] PROC_FS: get and set the smp affinity of tasks by read-write /proc/<pid>/smp_affinity
Denis wrote:
> + length += sprintf(page + length, "\n");

Could that overrun the 'page' buffer by one byte?

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214


\
 
 \ /
  Last update: 2008-01-04 08:57    [from the cache]
©2003-2010