[Bug 3637] QVMs are allowed to dereference NULL

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Jul 10 16:30:02 EDT 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3637


ludwig.nussel at gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #1 from ludwig.nussel at gmx.de  2008-07-10 16:29 EDT -------
Can you quote the paragraph of the C standard that forbids the use of NULL? :)

It's not forbidden. It just doesn't normally work as the memory page add
address zero is not mapped. If you manually map NULL (via mmap and MAP_FIXED,
see mmap manpage) you can access that area just fine.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list