summaryrefslogtreecommitdiff
path: root/src/common/logging/text_formatter.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-04-04 15:39:38 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-04-05 00:49:09 -0400
commit638c892edf806837702f80ad5a0e57da0c8dbabe (patch)
tree9f078a2483f31b6a3744834b31a83b75346c35d8 /src/common/logging/text_formatter.cpp
parent69b2dbdffd68d232d37a7c30a8ca01aee4f0b7c7 (diff)
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
Undefined Behaviour Sanitizer reports a null pointer is being sent to memcpy, thought it's "guaranteed to never be null". Guard it with an if statement, and log when the action has been averted.
Diffstat (limited to 'src/common/logging/text_formatter.cpp')
0 files changed, 0 insertions, 0 deletions