mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Added byte, short and other overflow checking
Added 'assert' based overflow checking for debug builds for char and short assignments. Simply ignore the error in release builds (a truncated value will be used without warning). Controlled by PNG_RANGE_CHECK_SUPPORTED.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
382de60042
commit
82fa6aed0e
5
CHANGES
5
CHANGES
@@ -5050,6 +5050,11 @@ Version 1.7.0beta57 [March 16, 2015]
|
||||
Version 1.7.0beta58 [March 22, 2015]
|
||||
Implemented affirm() support and usage.
|
||||
Remove pnglibconf.dfn and pnglibconf.pre with "make clean".
|
||||
Added byte, short and other overflow checking
|
||||
Added 'assert' based overflow checking for debug builds for char
|
||||
and short assignments. Simply ignore the error in release builds
|
||||
(a truncated value will be used without warning). Controlled by
|
||||
PNG_RANGE_CHECK_SUPPORTED.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
||||
Reference in New Issue
Block a user