mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Merge pull request #342 from cgohlke/pngtest_bad
Circumvent classification of pngtest_bad.png as malware
This commit is contained in:
commit
8209c7d0b8
|
@ -1,151 +0,0 @@
|
||||||
iVBORw0KGgoAAAANSUhEUgAAAFsAAABFCAMAAAFlM1rWAAACAHRSTlMAALGPC/xhBQAAAARzQklU
|
|
||||||
BQUFBU2lLfYAAAAGYktHRADgAOAAgJXNLyAAAAAJb0ZGcwAAAAAAAAAAAa0thlgAAAAscENBTGJv
|
|
||||||
Z3VzIHVuaXRzAAAAAAAAAP//AAJmb28vYmFyADEuMGUwADY1LjUzNWUzV0B7HAAAAAlwSFlzAAAL
|
|
||||||
EgAACxIB0t1+/AAAAAd0SU1FB8wGBxE6CI7/JnoAAAAJdEVYdFRpdGxlAFBOR9wBeTUAAB+3SURB
|
|
||||||
VHic7ZxPaGTJnec/OZOC3wMJIsCCF4YyxEAPPMEaUgdD5oIPueABFcwhBWuo2pvmMFB9U82p+7AD
|
|
||||||
5Zvq1nUYsOamOhiUQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
|
|
||||||
QUFBMyPj/SLi9+f7+/4e/CFkWNjVz4+GK4C/ePXN9RsHPbsC+ORouMqVMJ46ALoAD4bFeeXr0bBn
|
|
||||||
GF+6pyLkAjzoFyujhOezsgOQK+n/BcDzSXmYK01hDErk+MnDoXehHgPEmH7toGdXVYizzZRCjJSu
|
|
||||||
JsugdJ6j4f7IVTV1jBgtKJHrKQH42DB1FQA9q/jwdNIBqD6Nx6N9ewLx9s0+GharB8NiBfDRqLdK
|
|
||||||
X8xHb1TdWjvfrfzrR6PVsMhXAH95840no/75pPzyFwBnxwerefnFzucvXwyWy4x8Rz7r3JzzzHmK
|
|
||||||
3PD4+aQzPTlanU8umZRuNndhAK0aq/pahb52/N9PT1azyRRjBON13/T0aljk1zoHMFq48jU/e3o6
|
|
||||||
bh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Z6lYJYILdbLHxA3VBLj1OgKujmidEug3Trp09VQA
|
|
||||||
Y64xieSKM5xvMDqjqiOTMrElhOSitWRMy4orH8gELk4eTQG0JHKAEBESOSZJRh1SRn8TdXr1ijG5
|
|
||||||
duffMum1Y3J1pG7aGCCCDw09q3G+QWWwZxRaNM7XiECMDUoLs9JBrLmcl5wcHUyt0eRKU/q6RanS
|
|
||||||
tV5tm+trT7JR881EOCEDcmOZX7MezodpJm2GHa/pHUZllD6SmwzrdJu5pynoTAihofI1udJMr6pK
|
|
||||||
MsmNSF+17JnmxvK25xCjEtvj0t2cY8JbaGRjYSKRzR93aTpEqiYma2HaYl8EhtaiNMzLGmtU4rq8
|
|
||||||
oiAlGZHI4+cTowVyBff3LUQwAr5qKKuEypY+VfbXUZ3O2GzHprmeY0YyDjc1fWfskQkUOrnnwihG
|
|
||||||
+xatBecbSu+Ze7/hyZUuUBiTys1yjZt8cnF5CNAQ2S9yXIiUPhgtUtWh4eLS43xNiKnQq5RQN+nb
|
|
||||||
Wkt7E6kUXdUN+m3WI/1QMmX9wlAoTWgazi9LJqWjiZBLhlKyicSMSojomuDTt/n5zFXjsgpUdcMa
|
|
||||||
ArNGDSZlZSLxaZ4JPkS8jxitmbvQmrpUNldKJctCIrMB2DZEvTvKi1BYzcWlY155Pp07fGgwKkvB
|
|
||||||
ekxL2TRgjNqAhkK6Ea0yA/Dh6aSjsixpoQEtWIC5C4/nrjK+TrY7Nql2r3VyxVWIVCGQK8HkagP+
|
|
||||||
+xjdGydtc0XpakwmXDpPjImulzQbW62mJYwxtqD5tT11vt54xdL5sTGSCAjWbMLTCNXzWdmZO1+t
|
|
||||||
gX6r1Gbb5SqN1aSogou5expbTPDOSc9doGeTmRIRijy54MIodJZocOkACqeTsmPyZG2VQN1EfIjT
|
|
||||||
9VjPJuWhkEzWTcdx/f7cxKapasCajH2rKXKF1RqrFBlwOrk6vFm3fEOJg1npIz1rNhmF1Wnp65Yh
|
|
||||||
IcCzi7mBZL50liJCqxU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Z
|
|
||||||
Hqz9H24IVyP3c8UAAAAAAElFTkSuQmCC
|
|
BIN
Tests/images/pngtest_bad.png.bin
Normal file
BIN
Tests/images/pngtest_bad.png.bin
Normal file
Binary file not shown.
|
@ -212,18 +212,14 @@ def test_roundtrip_text():
|
||||||
def test_scary():
|
def test_scary():
|
||||||
# Check reading of evil PNG file. For information, see:
|
# Check reading of evil PNG file. For information, see:
|
||||||
# http://scary.beasts.org/security/CESA-2004-001.txt
|
# http://scary.beasts.org/security/CESA-2004-001.txt
|
||||||
|
# The first byte is removed from pngtest_bad.png
|
||||||
|
# to avoid classification as malware.
|
||||||
|
|
||||||
import base64
|
with open("Tests/images/pngtest_bad.png.bin", 'rb') as fd:
|
||||||
file = "Tests/images/pngtest_bad.png.base64"
|
data = b'\x89' + fd.read()
|
||||||
data = None
|
|
||||||
|
|
||||||
if py3:
|
pngfile = BytesIO(data)
|
||||||
data = base64.decodebytes(open(file, 'rb').read())
|
assert_exception(IOError, lambda: Image.open(pngfile))
|
||||||
else:
|
|
||||||
data = base64.decodestring(open(file, 'rb').read())
|
|
||||||
|
|
||||||
file = BytesIO(data)
|
|
||||||
assert_exception(IOError, lambda: Image.open(file))
|
|
||||||
|
|
||||||
def test_trns_rgb():
|
def test_trns_rgb():
|
||||||
# Check writing and reading of tRNS chunks for RGB images.
|
# Check writing and reading of tRNS chunks for RGB images.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user