diff options
author | nik-redhat <nladha@redhat.com> | 2020-09-25 18:19:39 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-09-29 14:04:11 +0000 |
commit | 748d7fe9cb7d20192b4b7d826509127fa04f43fb (patch) | |
tree | 9a524dfc595b9e25aa6351754ff5774a7adc26a9 /tools | |
parent | a0effc34aff418d6ecd4760c77587f5da25ca8cf (diff) |
locks: null dereference
Added a null check before executing the strtok_r()
to avoid null dereference in case of strdup() failure.
CID: 1407938
Updates: #1060
Change-Id: Iec6e72ae8cb54f6d0a287615c43756325b2026ec
Signed-off-by: nik-redhat <nladha@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions