[libpng16] Fixed a potential null pointer dereference in png_set_text_2()
(bug report and patch by Patrick Keshishian).
This commit is contained in:
parent
a3b5edc934
commit
812768d7a9
2
ANNOUNCE
2
ANNOUNCE
@ -31,6 +31,8 @@ Changes since the last public release (1.6.26):
|
|||||||
substitution of an expression itself containing a well-formed defined
|
substitution of an expression itself containing a well-formed defined
|
||||||
operation.
|
operation.
|
||||||
Added ARM support to CMakeLists.txt (Andreas Franek).
|
Added ARM support to CMakeLists.txt (Andreas Franek).
|
||||||
|
Fixed a potential null pointer dereference in png_set_text_2() (bug report
|
||||||
|
and patch by Patrick Keshishian).
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
2
CHANGES
2
CHANGES
@ -5771,6 +5771,8 @@ Version 1.6.27rc01 [December 27, 2016]
|
|||||||
Added ARM support to CMakeLists.txt (Andreas Franek).
|
Added ARM support to CMakeLists.txt (Andreas Franek).
|
||||||
|
|
||||||
Version 1.6.27 [December 29, 2016]
|
Version 1.6.27 [December 29, 2016]
|
||||||
|
Fixed a potential null pointer dereference in png_set_text_2() (bug report
|
||||||
|
and patch by Patrick Keshishian)
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
1
png.c
1
png.c
@ -477,6 +477,7 @@ png_free_data(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 mask,
|
|||||||
png_free(png_ptr, info_ptr->text);
|
png_free(png_ptr, info_ptr->text);
|
||||||
info_ptr->text = NULL;
|
info_ptr->text = NULL;
|
||||||
info_ptr->num_text = 0;
|
info_ptr->num_text = 0;
|
||||||
|
info_ptr->max_text = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user