Steffen Joeris
2010-Jan-27 20:51 UTC
[Secure-testing-team] Bug#567192: include patches from recent DSA
Package: ircd-hybrid Version: 1:7.2.2.dfsg.2-6.1 Severity: grave Tags: security patch Hi DSA-1980-1 has fixed an issue in ircd-hybrid, patch attached. Please include this patch in your next upload. Cheers Steffen -------------- next part -------------- --- ircd-hybrid-7.2.2.dfsg.2.orig/src/irc_string.c +++ ircd-hybrid-7.2.2.dfsg.2/src/irc_string.c @@ -103,7 +103,9 @@ } else *d++ = *src; - ++src, --len; + if (len > 0) { + ++src, --len; + } } *d = ''\0''; return dest;