projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a787bb1
)
dump: Add an unsatisfying special case for titles.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 27 Jul 2015 05:37:08 +0000
(22:37 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 27 Jul 2015 05:37:08 +0000
(22:37 -0700)
dump.c
patch
|
blob
|
history
diff --git
a/dump.c
b/dump.c
index 140050d6cba84956d5bd32ff594f2d7fe1baa664..88ed52960aa86203ef9d6f041d5d0de1c0900757 100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-246,6
+246,14
@@
dump_value_31(FILE *stream)
else
match_u32_assert (0);
+ /* This special case is really unsatisfying, but there are several
+ examples in the corpus, all from one SPV file. */
+ int save_pos = pos;
+ if (match_u32 (0x200) && match_u32(0x1000000) && match_u32(0)
+ && match_byte(0))
+ return;
+ pos = save_pos;
+
int outer_end = pos + get_u32();
int inner_end = pos + get_u32();
match_u32_assert(0);