diff options
author | Kozlov Dmitry <dima@server> | 2012-11-15 14:21:35 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-01-24 23:51:33 +0400 |
commit | 45026d43f6cfbe0f6efa446b47629cb948db5a9d (patch) | |
tree | be206f8519ba8169f7ca8e87f0cfc66b63ef9a74 /accel-pppd/cli/std_cmd.c | |
parent | 227298572c50013225752ff3af13ffc724d26ddf (diff) | |
download | accel-ppp-45026d43f6cfbe0f6efa446b47629cb948db5a9d.tar.gz accel-ppp-45026d43f6cfbe0f6efa446b47629cb948db5a9d.zip |
merge upstream
Diffstat (limited to 'accel-pppd/cli/std_cmd.c')
-rw-r--r-- | accel-pppd/cli/std_cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/cli/std_cmd.c b/accel-pppd/cli/std_cmd.c index d2666d87..7a890d1a 100644 --- a/accel-pppd/cli/std_cmd.c +++ b/accel-pppd/cli/std_cmd.c @@ -130,6 +130,8 @@ static int terminate_exec1(char * const *f, int f_cnt, void *cli) pthread_rwlock_rdlock(&ses_lock); list_for_each_entry(ses, &ses_list, entry) { + if (!ses->username) + continue; if (pcre_exec(re, NULL, ses->username, strlen(ses->username), 0, 0, NULL, 0) < 0) continue; if (hard) |