The patch titled kernel/auditsc.c: fix an off-by-one has been added to the -mm tree. Its filename is kernel-auditscc-fix-an-off-by-one.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: kernel/auditsc.c: fix an off-by-one From: Adrian Bunk <bunk@xxxxxxxxx> This patch fixes an off-by-one in a BUG_ON() spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> Cc: Amy Griffis <amy.griffis@xxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/auditsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/auditsc.c~kernel-auditscc-fix-an-off-by-one kernel/auditsc.c --- a/kernel/auditsc.c~kernel-auditscc-fix-an-off-by-one +++ a/kernel/auditsc.c @@ -2232,7 +2232,7 @@ int __audit_signal_info(int sig, struct axp->d.next = ctx->aux_pids; ctx->aux_pids = (void *)axp; } - BUG_ON(axp->pid_count > AUDIT_AUX_PIDS); + BUG_ON(axp->pid_count >= AUDIT_AUX_PIDS); axp->target_pid[axp->pid_count] = t->tgid; selinux_get_task_sid(t, &axp->target_sid[axp->pid_count]); _ Patches currently in -mm which might be from bunk@xxxxxxxxx are origin.patch x86_powernow_k8_acpi-must-depend-on-acpi.patch xenbus_xsc-fix-a-use-after-free.patch git-acpi.patch drivers-acpi-sbsc-remove-dead-code.patch git-alsa.patch kernel-auditscc-fix-an-off-by-one.patch git-drm.patch git-kvm.patch testing-patch-for-ali-pata-fixes-hopefully-for-the-problems-with-atapi-dma.patch git-mtd.patch fore200e_param_bs_queue-must-be-__devinit.patch git-ocfs2.patch drivers-scsi-pcmcia-nsp_csc-remove-kernel-24-code.patch git-unionfs.patch dvb-usb-af9005-fec-error-check-fixes.patch git-v9fs.patch git-ipwireless_cs.patch arch-i386-kernel-smpbootcsetup_trampoline-must-be.patch serial-sh-sci-fix-build-failure-from-kgdb-fallout.patch net-bluetooth-rfcomm-ttyc-use-after-free.patch usb_serial_suspend-buggy-code.patch slubcearly_kmem_cache_node_alloc-shouldnt-be.patch maps2-add-proc-kpagemap-interface.patch fs-reiserfs-cleanups.patch anon_inodes-shouldnt-be-user-visible.patch remove-unsafe-from-module-struct.patch introduce-i_sync-fix.patch ext2-reservations.patch intel-iommu-intel-iommu-driver.patch revoke-core-code.patch mm-implement-swap-prefetching.patch pid-namespaces-define-is_global_init-and-is_container_init-m32r-fix.patch the-next-round-of-scheduled-oss-code-removal.patch reiser4-export-remove_from_page_cache.patch reiser4.patch mutex-subsystem-synchro-test-module.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html