Fix: return of free'd string on error in strutils_split()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 19:20:29 +0000 (15:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 19:55:06 +0000 (15:55 -0400)
commitdafa89697320e08be2f46d9c065c309778b8496f
treed7732ebdf72a4a7af4f052b325a42a3ef9b49948
parent704e3aa764d754c5f60cb8302b9483f24fb4cdf6
Fix: return of free'd string on error in strutils_split()

Reported-by: Coverity Scan
CID 1374808 (#1 of 1): Use after free (USE_AFTER_FREE)
use_after_free: Using freed pointer substrings.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/string-utils/string-utils.c
This page took 0.031769 seconds and 5 git commands to generate.