commit | 23843313eb2d0dfe7185da569a79096410df40de | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Sun Jun 22 20:38:54 2014 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Sun Jun 22 20:38:54 2014 +0000 |
tree | 74ffca7af2d6125da93f438fc5fa208f1a15ab1f | |
parent | d7a25595ce8e6b7608e4f0eb25112d3291e6991e [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/branches/1.3.x@1324 632fc199-4ca6-4c93-a231-07263d6284db