]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Remove needless NULL checks in cf_pair_parse_internal() (CID #1469127, #1469144)...
authorJames Jones <jejones3141@gmail.com>
Fri, 29 Apr 2022 12:34:30 +0000 (07:34 -0500)
committerGitHub <noreply@github.com>
Fri, 29 Apr 2022 12:34:30 +0000 (08:34 -0400)
commit45a278f2fa4e5fbbb3916ee1cd1e7a0930452d01
treede4adda07df76edca8800ae6a537ca76cdc2155d
parenta1629adaf301f31837f7956f4aff6593f05b29af
Remove needless NULL checks in cf_pair_parse_internal() (CID #1469127, #1469144) (#4476)

array is checked for NULL, and an error returned if it is, before
the loop that fills the array, so the checks of it in the loop (and
also of entry, which can't be NULL either).
src/lib/server/cf_parse.c