diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-06-06 19:17:48 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-06-12 13:51:36 -0700 |
| commit | 97264131b08ab28a514cfb9a77a161091914e4b9 (patch) | |
| tree | 43acd9ee4a3702ce670456af1763d961d7572b79 /src/cairo-tests/rect.cpp | |
| parent | eab0fa01a9bfd1d84b445a2f03c44aaa881f3146 (diff) | |
caskbench: Fix bounds checking on string variables
Since we're going to concatenate two strings, it's not enough to simply
check the length of the second string. If it were of length
MAX_BUFFER-1, then the check would pass but concatenating it with
"cairo-" would then result in a MAX_BUFFER+5 length string which would
be out of bounds.
Diffstat (limited to 'src/cairo-tests/rect.cpp')
0 files changed, 0 insertions, 0 deletions