Changeset 4ecdc69


Ignore:
Timestamp:
2006-09-24T19:56:44Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a214954
Parents:
8e5e2e9
Message:

Fixed an off-by-one memory allocation bug in xt_new_node().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/xmltree.c

    r8e5e2e9 r4ecdc69  
    435435        {
    436436                node->text_len = strlen( text );
    437                 node->text = g_memdup( text, node->text_len );
     437                node->text = g_memdup( text, node->text_len + 1 );
    438438        }
    439439       
Note: See TracChangeset for help on using the changeset viewer.