Author: horms Date: Thu Jan 5 08:04:23 2006 New Revision: 5262 Modified: dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch Log: net-sdla-coverty.dpatch was inadvertantly empty
Modified: dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch ============================================================================== --- dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch (original) +++ dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/net-sdla-coverty.dpatch Thu Jan 5 08:04:23 2006 @@ -0,0 +1,23 @@ +--- a/drivers/net/wan/sdla.c 2006-01-05 07:56:21.000000000 +0000 ++++ b/drivers/net/wan/sdla.c 2006-01-05 07:57:14.000000000 +0000 +@@ -1306,6 +1306,8 @@ + + case SDLA_WRITEMEM: + case SDLA_READMEM: ++ if(!capable(CAP_SYS_RAWIO)) ++ return -EPERM; + return(sdla_xfer(dev, ifr->ifr_data, cmd == SDLA_READMEM)); + + case SDLA_START: +# This is a BitKeeper generated diff -Nru style patch. +# +# ChangeSet +# 2005/01/10 16:57:46-02:00 [EMAIL PROTECTED] +# Alan Cox: sdla_xfer lack of bounds checking, reported by Coverity (from 2.6.10-ac) +# +# drivers/net/wan/sdla.c +# 2005/01/10 16:56:45-02:00 [EMAIL PROTECTED] +2 -0 +# Alan Cox: sdla_xfer lack of bounds checking, reported by Coverity (from 2.6.10-ac) +# ,. +# +# Backported to Debian's 2.6.8 by Horms _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes