On Wednesday 30 March 2005 01:55 pm, Olivier Galibert wrote: > Actually it is. Dereferencing a null pointer is either undefined or > implementation-dependant in the standard (don't remember which), and > as such the compiler can do whatever it wants, be it starting nethack Can this be configured to start slashem instead? ;) > or not doing the dereference in the first place. What scares me is, "Is there any code in the kernel that does this, or something similarly stupid?". I regard the linux kernel as mostly sane, and I'd rather not have that illusion of safety broken* any time soon. Sure, its great for an app to randomly segfault, but having the kernel oops randomly is not much fun. To quote a sig I once saw on usenet: "Why Linux is better than Windows, Reason #325: No needing to reboot every 15 seconds; or every 3 seconds during full moons." * I am by no means an expert on kernel programing -- Patrick "Diablo-D3" McFarland || [email protected] "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
Attachment:
pgpyOmM3XOFPf.pgp
Description: PGP signature
- References:
- Re: Do not misuse Coverity please (Was: sound/oss/cs46xx.c: fix a check after use)
- From: Horst von Brand <[email protected]>
- Re: Do not misuse Coverity please
- From: Shankar Unni <[email protected]>
- Re: Do not misuse Coverity please
- From: Olivier Galibert <[email protected]>
- Re: Do not misuse Coverity please (Was: sound/oss/cs46xx.c: fix a check after use)
- Prev by Date: [BK PATCHES] 2.6.x net driver fixes
- Next by Date: Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering
- Previous by thread: Re: Do not misuse Coverity please
- Next by thread: Re: Do not misuse Coverity please
- Index(es):