commit | b7d6e84d6a9283dc2bc50ef9fcaadc0cdeb25c9f | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Sun Jun 22 20:36:50 2014 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Sun Jun 22 20:36:50 2014 +0000 |
tree | e07ce48d540116ebed5c39b3684a5f74ef38844a | |
parent | a8fb48b528baf4d19e2254ff0680336c21aa9097 [diff] |
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