Project

General

Profile

Actions

Bug #288

closed

Segmentation fault with symlink to /dev/urandom

Added by Anonymous about 19 years ago. Updated about 16 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

Actions #1

Updated by jan about 19 years ago

  • Status changed from New to Assigned

this should be fixed in svn already.

Actions #2

Updated by stbuehler almost 17 years ago

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

Updated by stbuehler about 16 years ago

  • Status changed from Fixed to Missing Feedback
Actions

Also available in: Atom