# HG changeset patch # User Paul Aurich # Date 1282247731 0 # Node ID 9789e8e7d83411b3051400eec415452d73444db7 # Parent 8b94ce420e01c806cec46a04fc826008a1c49e85 jabber: Document this not being an off-by-one... diff -r 8b94ce420e01 -r 9789e8e7d834 libpurple/protocols/jabber/auth_cyrus.c --- a/libpurple/protocols/jabber/auth_cyrus.c Sun Aug 15 19:49:48 2010 +0000 +++ b/libpurple/protocols/jabber/auth_cyrus.c Thu Aug 19 19:55:31 2010 +0000 @@ -103,6 +103,7 @@ return SASL_BADPARAM; len = strlen(pw); + /* Not an off-by-one because sasl_secret_t defines char data[1] */ x = (sasl_secret_t *) realloc(x, sizeof(sasl_secret_t) + len); if (!x)