Author: mguevara Date: Mon Apr 16 09:04:58 2007 GMT Module: SOURCES Tag: LINUX_2_6_20 ---- Log message: - fix for 2.6.20.7
---- Files affected: SOURCES: grsecurity-2.1.10-2.6.20.3.patch (1.1.2.6 -> 1.1.2.7) ---- Diffs: ================================================================ Index: SOURCES/grsecurity-2.1.10-2.6.20.3.patch diff -u SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.6 SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.7 --- SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.6 Tue Apr 10 21:12:57 2007 +++ SOURCES/grsecurity-2.1.10-2.6.20.3.patch Mon Apr 16 11:04:53 2007 @@ -30928,10 +30928,10 @@ { @@ -690,7 +690,7 @@ static int rawv6_sendmsg(struct kiocb *i /* Rough check on arithmetic overflow, - better check is made in ip6_build_xmit + better check is made in ip6_append_data(). */ -- if (len < 0) -+ if ((ssize_t)len < 0) +- if (len > INT_MAX) ++ if ((ssize_t)len > INT_MAX) return -EMSGSIZE; /* Mirror BSD error message compatibility */ ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SOURCES/grsecurity-2.1.10-2.6.20.3.patch?r1=1.1.2.6&r2=1.1.2.7&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit