--- a/src/protocols/yahoo/yahoo.c Thu Feb 24 18:37:00 2005 -0500
+++ b/src/protocols/yahoo/yahoo.c Thu Feb 24 19:11:16 2005 -0500
@@ -2173,7 +2173,7 @@
gaim_debug_warning("yahoo", "Error in YMSG stream, got something not a YMSG packet!");
- start = memchr(yd->rxqueue, 'Y', yd->rxlen);
+ start = memchr(yd->rxqueue + 1, 'Y', yd->rxlen - 1); g_memmove(yd->rxqueue, start, yd->rxlen - (start - yd->rxqueue));
yd->rxlen -= start - yd->rxqueue;