diff options
author | avg <avg@FreeBSD.org> | 2009-05-27 15:23:12 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2009-05-27 15:23:12 +0000 |
commit | 8466b56c6ce328dd395c1a8cd10258f5dbb04033 (patch) | |
tree | 00acc308d5b1470db5492a755b03fd6207d272f7 /lib/libc/stdio/getwc.c | |
parent | c2b3891e90b2c5877c08e34be14e4a4917b4bd0d (diff) | |
download | FreeBSD-src-8466b56c6ce328dd395c1a8cd10258f5dbb04033.zip FreeBSD-src-8466b56c6ce328dd395c1a8cd10258f5dbb04033.tar.gz |
linux_ioctl_cdrom: reduce stack usage
... by moving two ~2KB structures from stack to heap allocation.
I experienced stack overflow in linux emulation on i386 (8K stack)
when LINUX_DVD_READ_STRUCT ioctl was performed on atapicam cd
device and there was an error that resulted in additional quite
heavy stack use in cam layer.
Reviewed by: dchagin
Approved by: jhb (mentor)
Diffstat (limited to 'lib/libc/stdio/getwc.c')
0 files changed, 0 insertions, 0 deletions