Changeset c4e61db


Ignore:
Timestamp:
2015-10-08T10:25:37Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
bbff22d
Parents:
e1bea35
Message:

irc_sasl_plain_parse: fix size of the parts array

Oddly enough it doesn't break. Maybe it overwrites the 'decoded' pointer
when it doesn't need it anymore? Fun stuff.

Also the version of gcc (5.2) i'm using doesn't complain about array
bounds, clang does, and the older gcc (4.6) in travis does too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    re1bea35 rc4e61db  
    6363        int i, part, len;
    6464        guint8 *decoded;
    65         char *parts[2];
     65        char *parts[3];
    6666
    6767        /* bitlbee's base64_decode wrapper adds an extra null terminator at the end */
Note: See TracChangeset for help on using the changeset viewer.