Project

General

Profile

Bug #288

Segmentation fault with symlink to /dev/urandom

Added by Anonymous almost 15 years ago. Updated almost 12 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
core
Target version:
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

#1

Updated by jan almost 15 years ago

  • Status changed from New to Assigned

this should be fixed in svn already.

#2

Updated by stbuehler over 12 years ago

  • Status changed from Assigned to Fixed
  • Resolution set to worksforme
#3

Updated by stbuehler almost 12 years ago

  • Status changed from Fixed to Missing Feedback

Also available in: Atom