Skip to content

Commit

Permalink
cursor->next may be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jun 18, 2013
1 parent 6e65f3c commit d9fe564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/valuepair.c
Expand Up @@ -235,7 +235,7 @@ VALUE_PAIR *pairfirst(vp_cursor_t *cursor)
if (cursor->current) {
VERIFY_VP(cursor->current);
cursor->next = cursor->current->next;
VERIFY_VP(cursor->next);
if (cursor->next) VERIFY_VP(cursor->next);
cursor->found = NULL;
}

Expand Down

0 comments on commit d9fe564

Please sign in to comment.