plan9fox/sys
cinap_lenrek 9e7ecc41d5 devproc buffer overflow, strncpy
in devproc status read handler the p->status, p->text and p->user
could overflow the local statbuf buffer as they where copied into
it with code like: memmove(statbuf+someoff, p->text, strlen(p->text)).
now using readstr() which will truncate if the string is too long.

make strncpy() usage consistent, make sure results are always null
terminated.
2012-10-01 02:52:05 +02:00
..
doc /sys/doc: remove autogenerated postscript files 2012-06-06 22:28:48 +02:00
games/lib fortunes, rob, rsc: updates 2012-09-26 18:52:49 -05:00
include Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
lib user: Marko Kostić <marko.m.kostic@gmail.com> 2012-09-19 23:37:47 +02:00
man cpuid(8): fix spelling 2012-09-28 21:49:12 -05:00
src devproc buffer overflow, strncpy 2012-10-01 02:52:05 +02:00