[Bug 3637] QVMs are allowed to dereference NULL

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Jul 10 19:24:03 EDT 2008


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





------- Comment #4 from bugzilla at benmachine.co.uk  2008-07-10 19:24 EDT -------
Ludwig: I'm looking at an ISO C99 draft retrieved from
http://www.open-std.org/jtc1/sc22/wg14/www/standards.html#9899

6.3.2.3 Pointers

[...]

3 An integer constant expression with the value 0, or such an expression cast
to type void *, is called a null pointer constant. If a null pointer constant
is converted to a pointer type, the resulting pointer, called a null pointer,
is guaranteed to compare unequal to a pointer to any object or function.


-- 
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