1
1
mirror of https://github.com/wader/fq.git synced 2024-10-06 16:39:48 +03:00

changes Errorf to Fatalf on infinite loops

This commit is contained in:
David McDonald 2022-10-07 18:04:07 -05:00
parent 4d8dd5c5e3
commit 4ee7dd8a38

View File

@ -181,7 +181,7 @@ func (pl *plist) decodeReference(d *decode.D, idx uint64) any {
}
if pl.indexIsInStack(idx) {
d.Errorf("recursion detected: object %d already decoded in stack %v", idx, pl.objectStack)
d.Fatalf("recursion detected: object %d already decoded in stack %v", idx, pl.objectStack)
return nil
}