[Bug 3637] QVMs are allowed to dereference NULL

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Jul 10 17:03:11 EDT 2008


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





------- Comment #3 from amanieu at gmail.com  2008-07-10 17:03 EDT -------
Fixing this would require special memory allocation for qvms in which the first
page of memory is reserved. This can cause issues because page size varies
between architectures and there is no portable API to do per-page memory
allocation which guarantee that an unused page will cause a segfault.

On the other hand I agree that qvms _should_ crash when dereferencing NULL
since many people don't test their mods with dll/so.


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