Actions
Bug #288
closedSegmentation fault with symlink to /dev/urandom
ASK QUESTIONS IN Forums:
Description
Just playing around, I linked /www/hacks to /dev/urandom, and attempted to load in browser, finding that lighttpd had stopped. Here's an strace snip:
{{{read(4, "GET /hacks HTTP/1.1\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.5\r\nHost: lo*snip, just a standard request*
stat64("/www/hacks", {st_mode=S_IFCHR|0644, st_rdev=makedev(1, 9), ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
++ killed by SIGSEGV ++
}}}
This isn't too severe, unless in certain circumstances such as shared hosting in which the user can create a symbiotic link. It seems to do this on all devices, and I'm guessing will also work on other special files.
-- dave
Updated by jan about 19 years ago
- Status changed from New to Assigned
this should be fixed in svn already.
Updated by stbuehler over 16 years ago
- Status changed from Assigned to Fixed
- Resolution set to worksforme
Updated by stbuehler about 16 years ago
- Status changed from Fixed to Missing Feedback
Actions
Also available in: Atom