Skip to content

CIFuzz fails on the 3.13 and 3.14 branches: plistlib parse and LookupError #152211

Description

@vstinner

Bug report

Examples on a 3.13 PR:

Example on the address job:

Traceback (most recent call last):
  File "<string>", line 7, in FuzzerRunOne
  File "/github/workspace/build-out/cpython-install/lib/python3.13/plistlib.py", line 925, in loads
    return load(fp, fmt=fmt, dict_type=dict_type, aware_datetime=aware_datetime)
  File "/github/workspace/build-out/cpython-install/lib/python3.13/plistlib.py", line 912, in load
    return p.parse(fp)
           ~~~~~~~^^^^
  File "/github/workspace/build-out/cpython-install/lib/python3.13/plistlib.py", line 194, in parse
    self.parser.ParseFile(fileobj)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
LookupError: unknown encoding: Latin-5_________________________

The artifacts ZIP contains:

<?xml version="2147483646.256" encoding="Latin-5_________________________"  ?><svg><svg><svg

cc @StanFromIreland @serhiy-storchaka

Metadata

Metadata

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions