diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-19 21:08:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-19 21:30:02 -0700 |
commit | ad0806406b724b4d0007698e4cca208d90cf650f (patch) | |
tree | 5706635baa3d477fef4c18b2027c01bd4fc4a675 /profile.c | |
parent | d2db571b7ab79638355fe3c19c461bb4e87e352e (diff) | |
download | subsurface-ad0806406b724b4d0007698e4cca208d90cf650f.tar.gz |
Uemis downloader: avoid NULL pointer dereference
The Uemis downloader blindly just did a strstr on 'nds->name', even if
there wasn't necessarily a dive location at all.
Add the proper NULL pointer checks.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions