[libpng15] Fixed undefined behavior in png_push_save_buffer(). Do not call

memcpy() with a null source, even if count is zero (Leon Scroggins III).
This commit is contained in:
Glenn Randers-Pehrson
2016-06-03 21:26:43 -05:00
parent c1ac308d12
commit 6ddc038db9
3 changed files with 15 additions and 6 deletions

View File

@@ -4496,8 +4496,10 @@ version 1.5.27rc01 [May 14, 2016]
version 1.5.27 [May 26, 2016]
No changes.
version 1.5.28beta01 [May 31, 2016]
version 1.5.28beta01 [June 4, 2016]
Merge with current libpng16 pngvalid.c
Fixed undefined behavior in png_push_save_buffer(). Do not call
memcpy() with a null source, even if count is zero (Leon Scroggins III).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit