Changeset 2dc394c for tests


Ignore:
Timestamp:
2016-08-24T00:02:20Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
67ea361
Parents:
88cde4e
Message:

jabber: handle nulls in jabber_compare_jid

As far as I can see this isn't remotely exploitable (and if it were it
would be just DoS of the child process), but i'm still looking into it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/check_jabber_util.c

    r88cde4e r2dc394c  
    103103        fail_unless(jabber_compare_jid("bugtest@google.com/A", "bugtest@google.com/A"));
    104104        fail_if(jabber_compare_jid("", "bugtest@google.com/A"));
     105        fail_if(jabber_compare_jid(NULL, ""));
     106        fail_if(jabber_compare_jid("", NULL));
    105107}
    106108
Note: See TracChangeset for help on using the changeset viewer.