]> granicus.if.org Git - libjpeg-turbo/commit
Prevent a buffer overrun if the comment begins with a literal quote character and...
authorDRC <dcommander@users.sourceforge.net>
Sun, 22 Jun 2014 20:36:50 +0000 (20:36 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sun, 22 Jun 2014 20:36:50 +0000 (20:36 +0000)
commitb7d6e84d6a9283dc2bc50ef9fcaadc0cdeb25c9f
treee07ce48d540116ebed5c39b3684a5f74ef38844a
parenta8fb48b528baf4d19e2254ff0680336c21aa9097
Prevent a buffer overrun if the comment begins with a literal quote character and the string exceeds 65k characters.  Also prevent comments longer than 65k characters from being written, since this will produce an incorrect JPEG file.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1323 632fc199-4ca6-4c93-a231-07263d6284db
ChangeLog.txt
wrjpgcom.c