wsutil: return false if NULL is asked as profile name (CID: 1405202).
authorDario Lombardo <lomato@gmail.com>
Wed, 3 Jan 2018 11:08:49 +0000 (12:08 +0100)
committerDario Lombardo <lomato@gmail.com>
Wed, 3 Jan 2018 16:00:52 +0000 (16:00 +0000)
commite0d04a752aebd91bc368932364c086576962c26d
tree4f11c465fe9009ae670710f94f050679084ae3cb
parente7b50f47519637d4e21eb25d7ef30f14cf5d10fc
wsutil: return false if NULL is asked as profile name (CID: 1405202).

Better not rely on the fact that the caller won't pass NULL. A NULL
profile would be lead to a wrong behaviour.

Change-Id: I281f0d2364af9f7b78268580dd73024b07bcba83
Reviewed-on: https://code.wireshark.org/review/25124
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
wsutil/filesystem.c