aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2024-02-17 20:25:38 -0800
committerJens Axboe <[email protected]>2024-02-18 06:01:18 -0700
commit31edf4bbe0ba27fd03ac7d87eb2ee3d2a231af6d (patch)
treed15a2d90e3c1ea692ae7b9c846b8d5dd4c8b8963 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentd69591caec243811449d4e6571fbf460f06fb8f6 (diff)
nbd: null check for nla_nest_start
nla_nest_start() may fail and return NULL. Insert a check and set errno based on other call sites within the same source code. Signed-off-by: Navid Emamdoost <[email protected]> Reviewed-by: Michal Kubecek <[email protected]> Fixes: 47d902b90a32 ("nbd: add a status netlink command") Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions