]> andersk Git - libfaim.git/blobdiff - aim_login.c
Small fixes.
[libfaim.git] / aim_login.c
index 63b7b2fcab8d4f7776e88020e079419267a4b3d5..96bdcf84500d8e9c30d5c5fd07599eee5a0b767d 100644 (file)
@@ -306,7 +306,7 @@ int aim_authkeyparse(struct aim_session_t *sess, struct command_rx_struct *comma
   rxcallback_t userfunc;
 
   keylen = aimutil_get16(command->data+10);
-  key = malloc(keylen);
+  key = malloc(keylen+1);
   memcpy(key, command->data+12, keylen);
   key[keylen] = '\0';
   
This page took 0.034018 seconds and 4 git commands to generate.