projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c6f6b4
)
table: Fix use of uninitialized data.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 16 Jan 2023 17:54:30 +0000
(09:54 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 16 Jan 2023 17:54:30 +0000
(09:54 -0800)
Fixes: 62a04ffbf5aa ("output: Combine color and stroke into table_border_style.")
src/output/table.c
patch
|
blob
|
history
diff --git
a/src/output/table.c
b/src/output/table.c
index f0f95b8669da6e7de4c8c16092506ec5d36b0e0c..523a5ea75ab1243d1a33a3117567c3a22771fe28 100644
(file)
--- a/
src/output/table.c
+++ b/
src/output/table.c
@@
-270,7
+270,7
@@
table_create (int nc, int nr, int hl, int hr, int ht, int hb)
.cc = pool_calloc (pool, nr * nc, sizeof *t->cc),
.cp = pool_calloc (pool, nr * nc, sizeof *t->cp),
.rh = pool_calloc (pool, nc, nr + 1),
- .rv = pool_
nm
alloc (pool, nr, nc + 1),
+ .rv = pool_
c
alloc (pool, nr, nc + 1),
};
return t;
}