mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Fixed a potential null pointer dereference in png_set_text_2()
(bug report and patch by Patrick Keshishian)
This commit is contained in:
parent
48f8ca26e4
commit
243d4e5f3f
2
ANNOUNCE
2
ANNOUNCE
@ -1420,6 +1420,8 @@ Version 1.7.0beta85 [December 27, 2016]
|
|||||||
|
|
||||||
Version 1.7.0beta86 [December 29, 2016]
|
Version 1.7.0beta86 [December 29, 2016]
|
||||||
Ported CMakeLists.txt from libpng-1.6.27rc01.
|
Ported CMakeLists.txt from libpng-1.6.27rc01.
|
||||||
|
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
@ -5720,6 +5720,8 @@ Version 1.7.0beta85 [December 27, 2016]
|
|||||||
|
|
||||||
Version 1.7.0beta86 [December 29, 2016]
|
Version 1.7.0beta86 [December 29, 2016]
|
||||||
Ported CMakeLists.txt from libpng-1.6.27rc01.
|
Ported CMakeLists.txt from libpng-1.6.27rc01.
|
||||||
|
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
@ -427,6 +427,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…
x
Reference in New Issue
Block a user