pidgin: 5be7104f: Fix CID #367

rlaager at pidgin.im rlaager at pidgin.im
Fri Nov 14 02:45:52 EST 2008


-----------------------------------------------------------------
Revision: 5be7104ff151004112ce3f9c34446335024d06d8
Ancestor: 5d43b0181fd3233f022058ee9c660945ece963bc
Author: rlaager at pidgin.im
Date: 2008-11-14T06:44:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5be7104ff151004112ce3f9c34446335024d06d8

Modified files:
        libpurple/plugins/log_reader.c

ChangeLog: 

Fix CID #367

-------------- next part --------------
============================================================
--- libpurple/plugins/log_reader.c	905ca8995e2551a35e6efadb2374ce80b83e8edf
+++ libpurple/plugins/log_reader.c	591edfc4433462f4d1ec93234645126b8c1351ab
@@ -1971,7 +1971,7 @@ static char *qip_logger_read(PurpleLog *
 	c = contents;
 	line = contents;
 
-	while (*c) {
+	while (c && *c) {
 		gboolean is_in_message = FALSE;
 
 		if (purple_str_has_prefix(line, QIP_LOG_IN_MESSAGE_ESC) ||


More information about the Commits mailing list