aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging/backend.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
commit791a89c8b0bf0c5bf35656300d258a1a5c955d67 (patch)
tree9f078a2483f31b6a3744834b31a83b75346c35d8 /src/common/logging/backend.cpp
parentb14441691b15aff8bbbb00f4f211bbe0dbb9b82d (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/backend.cpp')
0 files changed, 0 insertions, 0 deletions