aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorstephen hemminger <shemming@brocade.com>2015-11-17 14:26:06 -0800
committerDavid S. Miller <davem@davemloft.net>2015-11-18 14:58:03 -0500
commit52d178516dcf61e7a59363a572458c830af6e520 (patch)
tree2b23b754f77f5aec29282d380f94f2a8f62958dc /tools/perf/scripts/python/export-to-postgresql.py
parentfm10k: fix memory leak (diff)
downloadlinux-dev-52d178516dcf61e7a59363a572458c830af6e520.tar.xz
linux-dev-52d178516dcf61e7a59363a572458c830af6e520.zip
hdlc: fix null-deref on allocation failure
If alloc_netdev() failed and return NULL, then the next instruction would dereference it. Found by Coverity. Compile tested only. Not sure if anyone still uses this driver (or the whole WAN subsystem). Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions