Guy Harris
changed
bug 8752
What |
Removed |
Added |
Status |
UNCONFIRMED
|
RESOLVED
|
Resolution |
---
|
FIXED
|
Comment # 5
on bug 8752
from Guy Harris
Checked in as r49833:
Prevent attempts to allocate huge amounts of memory by imposing an
artificial 16MB limit on blocks.
Do some sanity checks when reading options, to make sure we don't read past
the end of the block.
Make some variables unsigned so as not to get inappropriate sign-extension
(which, in practice, should never happen due to the 16MB block size limit,
although if the limit is raised above 2^31-1, the limit won't protect you).
Checked in as r49834:
Use g_try_malloc() for some memory allocations, and return an "out of
memory" indication if it fails.
You are receiving this mail because:
- You are watching all bug changes.