diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-07-26 21:04:52 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-07-26 21:04:52 -0700 |
commit | f738675f1d857917e54751961da28d7e5aaaf440 (patch) | |
tree | 698c8d955079c1efbb65881f5d526393a88cd0fc /docs/samples/save_file.cpp | |
parent | bd7a8fa4bfa361b06cdbb497021545f0f7ba66ac (diff) |
Fix two UB sanitizer false positives
Change the expression to reference the array element indirectly. The memory
block can be bigger than the structure so it's invalid to use static data[]
size for bounds checking.
Diffstat (limited to 'docs/samples/save_file.cpp')
0 files changed, 0 insertions, 0 deletions