Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix some undefined behavior in filter.c, caught by clang scan-build

  • Loading branch information...
commit c068c0307a85727dd3ad619122a640f96399d627 1 parent 374089a
@JasonGross JasonGross authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  filter.c
View
2  filter.c
@@ -123,8 +123,8 @@ owl_filterelement * owl_filter_parse_expression(int argc, const char *const *arg
owl_filterelement * op1 = NULL, * op2 = NULL, *tmp;
op1 = owl_filter_parse_primitive_expression(argc-i, argv+i, &skip);
- i += skip;
if(!op1) goto err;
+ i += skip;
while(i < argc) {
if(strcasecmp(argv[i], "and") &&
Please sign in to comment.
Something went wrong with that request. Please try again.