diff options
author | 2013-05-22 14:54:32 +0200 | |
---|---|---|
committer | 2013-06-03 14:13:09 -0700 | |
commit | f14e600a3bb62905fe9e4e0350048af4ead54ca9 (patch) | |
tree | 0ebf7bb75a606409ea8967a42302107020cbdcbe /lib/net_utils.c | |
parent | tools: hv: Check return value of poll call (diff) | |
download | wireguard-linux-f14e600a3bb62905fe9e4e0350048af4ead54ca9.tar.xz wireguard-linux-f14e600a3bb62905fe9e4e0350048af4ead54ca9.zip |
tools: hv: Check retrun value of strchr call
Check return value of strchr call and dereference it only if it is
not NULL.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions