Commit 54952f7
box: fix out-of-bounds read in index_opts_parse_layout()
It's not safe to use `strlcpy()` for non-null-terminated strings, because
this function requires a null-terminated string. Found by AddressSanitizer.
Follow-up tarantool/tarantool-ee#1089
NO_DOC=bugfix
NO_CHANGELOG=unreleased
NO_TEST=hard to create a stable reproducer1 parent 1bca646 commit 54952f7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
0 commit comments