projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a596c76
)
Check for =~ and !~
author
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 18:24:10 +0000
(13:24 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Sun, 17 Feb 2013 18:24:10 +0000
(13:24 -0500)
Fixes Coverity #982075
src/modules/rlm_expr/paircmp.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_expr/paircmp.c
b/src/modules/rlm_expr/paircmp.c
index
71aa855
..
8256f46
100644
(file)
--- a/
src/modules/rlm_expr/paircmp.c
+++ b/
src/modules/rlm_expr/paircmp.c
@@
-219,7
+219,7
@@
static int genericcmp(void *instance UNUSED,
VALUE_PAIR **reply_pairs UNUSED)
{
if ((check->op != T_OP_REG_EQ) &&
- (check->op != T_OP_REG_
EQ
)) {
+ (check->op != T_OP_REG_
NE
)) {
int rcode;
char name[1024];
char value[1024];