Fix a few gcc analyzer complaints in util-strings.*
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Jul 2023 04:16:45 +0000 (14:16 +1000)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Dec 2023 10:23:27 +0000 (19:23 +0900)
commite47828c5e240eb069a37d16e29f9b0dce6a1f661
tree6cb4f178722f7f94541d8cd5bcef6b4cdf36a5c3
parent46e1b637af9be363d99444a3092b80aec290f9db
Fix a few gcc analyzer complaints in util-strings.*

Sprinkle a few asserts into the various string helpers for where our
arguments must not be NULL.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/util-strings.c
src/util-strings.h