projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14db379
)
spv-table-look: Don't use user-provided text as format string.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 3 Nov 2020 07:09:13 +0000
(23:09 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 3 Nov 2020 07:09:39 +0000
(23:09 -0800)
Thanks to Mindaugus for reporting this issue.
src/output/spv/spv-table-look.c
patch
|
blob
|
history
diff --git
a/src/output/spv/spv-table-look.c
b/src/output/spv/spv-table-look.c
index 03850bb433c56c8c4629b7d9d9a376521623cd5d..122594ef303a823d39151f64da1536975a4149f5 100644
(file)
--- a/
src/output/spv/spv-table-look.c
+++ b/
src/output/spv/spv-table-look.c
@@
-487,7
+487,7
@@
spv_table_look_write (const char *filename, const struct pivot_table_look *look)
if (look->continuation && look->continuation[0]
&& (look->top_continuation || look->bottom_continuation))
{
- write_attr
_format
(xml, "continuationText", look->continuation);
+ write_attr (xml, "continuationText", look->continuation);
write_attr_bool (xml, "continuationTextAtTop", look->top_continuation);
write_attr_bool (xml, "continuationTextAtBottom",
look->bottom_continuation);