From 8bebb89112ae7077e368ae31828e817f28e3a265 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Wed, 22 Aug 2007 14:01:05 -0700 Subject: [PATCH] --- yaml --- r: 64221 b: refs/heads/master c: 88ae704c2aba150372e3d5c2f017c816773d09a7 h: refs/heads/master i: 64219: 36632d9e4994044689dd9fdb592b0b4b7dc1a23e v: v3 --- [refs] | 2 +- trunk/kernel/auditsc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6e25c1c47c13..876035a57c14 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8e81cc13a88ce486a6b0a6ca56aba6985824917a +refs/heads/master: 88ae704c2aba150372e3d5c2f017c816773d09a7 diff --git a/trunk/kernel/auditsc.c b/trunk/kernel/auditsc.c index 3401293359e8..04f3ffb8d9d4 100644 --- a/trunk/kernel/auditsc.c +++ b/trunk/kernel/auditsc.c @@ -2023,7 +2023,7 @@ int __audit_signal_info(int sig, struct task_struct *t) 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]);