summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2014-02-21 20:16:13 -0500
committerRyan Lortie <desrt@desrt.ca>2014-02-21 20:16:13 -0500
commit7cff7ca10aa28d4b681fb8a1736a4bb2f48484f0 (patch)
tree8e8ffff233cc1e2f2d0ed17e005cd51f9e65a1b2 /common
parent54a490e4d9b5a788fa63011fb6ff73ad1c1ebf80 (diff)
downloaddconf-7cff7ca10aa28d4b681fb8a1736a4bb2f48484f0.tar.gz
gvdb test: avoid infinite recursion
/gvdb/reader/corrupted/7% was failing when run with random seed R02S2a7b9704dbb5ea704b0d724329af0fbf. This is a fuzz test, and it turns out that this particular seed ended up producing a file that was valid, but contained a self-referential table. The testcase happily recursed though this table's subtable (itself) and so on, until it ran out of stack space, causing a crash. This bug would not impact realworld users of gvdb: these users only ever recurse through tables a finite number of times. For dconf, subtables are not used at all. For GSettings, each schema is a subtable, but from within that subtable we only lookup values.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions