projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8245230
)
sys-file-reader: Raise maximum number of bytes in variable label to 65536.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 19 Mar 2014 03:49:17 +0000
(20:49 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 19 Mar 2014 03:49:54 +0000
(20:49 -0700)
Reported by Andre Müller.
Bug #41863.
src/data/sys-file-reader.c
patch
|
blob
|
history
diff --git
a/src/data/sys-file-reader.c
b/src/data/sys-file-reader.c
index 99e8caa6a78d8bc2ccbc8fa4709de4b235fca55a..9bb1c775783488b96275b69a405ae63ae16b947f 100644
(file)
--- a/
src/data/sys-file-reader.c
+++ b/
src/data/sys-file-reader.c
@@
-1070,7
+1070,7
@@
read_variable_record (struct sfm_reader *r, struct sfm_var_record *record)
if (has_variable_label == 1)
{
- enum { MAX_LABEL_LEN =
255
};
+ enum { MAX_LABEL_LEN =
65536
};
unsigned int len, read_len;
if (!read_uint (r, &len))