projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5246fa
)
dump: Fix everything up through dims for v1 and v3 SPV files.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 28 Jul 2015 02:48:13 +0000
(19:48 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 28 Jul 2015 02:48:13 +0000
(19:48 -0700)
dump.c
patch
|
blob
|
history
diff --git
a/dump.c
b/dump.c
index df633fa660e10d44d5e24d0e55dc3bd2a19830f2..697ace697badba8c220db73de40d6c0b38bd7c35 100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-620,7
+620,8
@@
dump_dim(int indx)
if (!match_byte(0))
match_byte_assert(1);
match_byte_assert(1);
- match_u32_assert(indx);
+ if (!match_u32(UINT32_MAX))
+ match_u32_assert(indx);
n_categories = get_u32();
int indexes[2048];