aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2015-10-05 11:51:03 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-06 02:30:51 -0400
commit855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8 (patch)
tree0f660f069392b98eac4e8cf2db9bdc80ce1a3e18 /scripts/gdb/linux/utils.py
parent83ffe99f52b8f269b31b21524adcd13b165f7703 (diff)
amd-xgbe: Check for successful buffer allocation before use
The kasprintf function can return NULL if the allocation fails. Check for successful allocation before attempting to use the returned buffer. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions