Re: [PATCH] PROC_FS: get and set the smp affinity of tasks byread-write /proc/<pid>/smp_affinity

From: Paul Jackson
Date: Fri Jan 04 2008 - 02:54:44 EST


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@xxxxxxx> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/