NetBSD Problem Report #42716
From www@NetBSD.org Tue Feb 2 09:38:51 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id AD9BD63B9FC
for <gnats-bugs@gnats.NetBSD.org>; Tue, 2 Feb 2010 09:38:51 +0000 (UTC)
Message-Id: <20100202093851.50D1A63B886@www.NetBSD.org>
Date: Tue, 2 Feb 2010 09:38:51 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Buffer overrun in algor_p6032_intr.c
X-Send-Pr-Version: www-1.0
>Number: 42716
>Category: port-algor
>Synopsis: Buffer overrun in algor_p6032_intr.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-algor-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 02 09:40:00 +0000 2010
>Closed-Date: Sat Mar 05 14:12:38 +0000 2011
>Last-Modified: Sat Mar 05 14:12:38 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Buffer overrun found by cppcheck.
>How-To-Repeat:
>Fix:
diff -u -r1.16 algor_p6032_intr.c
--- sys/arch/algor/algor/algor_p6032_intr.c 26 May 2008 15:59:29 -0000 1.16
+++ sys/arch/algor/algor/algor_p6032_intr.c 2 Feb 2010 09:14:05 -0000
@@ -198,7 +198,7 @@
}
evcnt_attach_static(&mips_int5_evcnt);
- for (i = 0; i <= NIRQMAPS; i++) {
+ for (i = 0; i < NIRQMAPS; i++) {
irqmap = &p6032_irqmap[i];
evcnt_attach_dynamic(&p6032_intrtab[i].intr_count,
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: matt@NetBSD.org
State-Changed-When: Sat, 05 Mar 2011 14:12:38 +0000
State-Changed-Why:
Fix committed in http://mail-index.netbsd.org/source-changes/2011/03/05/msg019538.html
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.