summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getwc.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2009-05-27 15:23:12 +0000
committeravg <avg@FreeBSD.org>2009-05-27 15:23:12 +0000
commit8466b56c6ce328dd395c1a8cd10258f5dbb04033 (patch)
tree00acc308d5b1470db5492a755b03fd6207d272f7 /lib/libc/stdio/getwc.c
parentc2b3891e90b2c5877c08e34be14e4a4917b4bd0d (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud