Skip to content

Infinite loop in plist parsing in 2.1.0 #85

@coryalder

Description

@coryalder

The attached plist can be parsed by plist 2.0.1, but seems to cause plist to go into infinite recursion when using version 2.1.0. I've pared the file down quite a bit to remove excess xml, but haven't managed pinpoint the exact cause of the problem in the plist.

This file was written out by Xcode during a test run. Code I'm using to parse with plist is:

const plist = require('plist');
const fs = require('fs');
const a = fs.readFileSync('./TestSummaries.plist','utf8');
plist.parse(a);

Attached:
TestSummaries.plist.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions