summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-06-12 00:46:34 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-06-12 00:48:25 +0100
commitf91219c114a3d95792d052555664a5a7a3984a8d (patch)
tree705da5da1bfbaa760ac36d9b29aed99d9fabad06 /src
parente447a470aae2e45fc80bfb14a77b06e6f57f4d5c (diff)
Taint: fix radius expansion condition
Diffstat (limited to 'src')
-rw-r--r--src/src/auths/call_radius.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/auths/call_radius.c b/src/src/auths/call_radius.c
index cc269dcd5..9d10b34c6 100644
--- a/src/src/auths/call_radius.c
+++ b/src/src/auths/call_radius.c
@@ -96,8 +96,7 @@ int sep = 0;
#endif
-user = string_nextinlist(&radius_args, &sep, big_buffer, big_buffer_size);
-if (!user) user = US"";
+if (!(user = string_nextinlist(&radius_args, &sep, NULL, 0))) user = US"";
DEBUG(D_auth) debug_printf("Running RADIUS authentication for user \"%s\" "
"and \"%s\"\n", user, radius_args);