diff options
| author | 2026-01-17 16:35:19 +0100 | |
|---|---|---|
| committer | 2026-01-17 16:35:19 +0100 | |
| commit | 001a59eef3b2a981f28af74ea82e1fc06b0c4275 (patch) | |
| tree | b1893557c9d6863f9176b9876686257a5f73aab9 /src | |
| parent | e45099fb21b679aa0cdb0db394587bb5ba675b0c (diff) | |
| download | libplist-001a59eef3b2a981f28af74ea82e1fc06b0c4275.tar.gz libplist-001a59eef3b2a981f28af74ea82e1fc06b0c4275.tar.bz2 | |
plistutil: Use proper error description for new error codes
Diffstat (limited to 'src')
| -rw-r--r-- | src/bplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bplist.c b/src/bplist.c index 254c0ff..8d50f2e 100644 --- a/src/bplist.c +++ b/src/bplist.c | |||
| @@ -831,7 +831,7 @@ static plist_t parse_bin_node_at_index(struct bplist_data *bplist, uint32_t node | |||
| 831 | void *node_level = ptr_array_index(bplist->used_indexes, bplist->level); | 831 | void *node_level = ptr_array_index(bplist->used_indexes, bplist->level); |
| 832 | if (node_i == node_level) { | 832 | if (node_i == node_level) { |
| 833 | PLIST_BIN_ERR("recursion detected in binary plist\n"); | 833 | PLIST_BIN_ERR("recursion detected in binary plist\n"); |
| 834 | bplist->err = PLIST_ERR_PARSE; | 834 | bplist->err = PLIST_ERR_CIRCULAR_REF; |
| 835 | return NULL; | 835 | return NULL; |
| 836 | } | 836 | } |
| 837 | } | 837 | } |
