summaryrefslogtreecommitdiff
path: root/docs/samples/load_file.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-07-26 21:04:52 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-07-26 21:04:52 -0700
commitf738675f1d857917e54751961da28d7e5aaaf440 (patch)
tree698c8d955079c1efbb65881f5d526393a88cd0fc /docs/samples/load_file.cpp
parentbd7a8fa4bfa361b06cdbb497021545f0f7ba66ac (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/load_file.cpp')
0 files changed, 0 insertions, 0 deletions