projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2f3fa7c
)
matrix-data: Only use as many bytes as necessary to initialize string.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:46:11 +0000
(14:46 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 2 Jan 2019 22:50:14 +0000
(14:50 -0800)
Using strncpy() of a 9-character string to initialize an 8-byte field is
odd and seems likely to have been a mistake, although a harmless one.
This makes the situation seem less odd.
Found by GCC 4.9.
No differences found