Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 02:50:33 -0800
From:      Max Khon <fjoe@FreeBSD.org>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern sysv_shm.c
Message-ID:  <20030216025032.A55015@FreeBSD.org>
In-Reply-To: <200302160608.h1G68t9U083470@repoman.freebsd.org>; from alfred@FreeBSD.org on Sat, Feb 15, 2003 at 10:08:55PM -0800
References:  <200302160608.h1G68t9U083470@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Sat, Feb 15, 2003 at 10:08:55PM -0800, Alfred Perlstein wrote:

> alfred      2003/02/15 22:08:55 PST
> 
>   Modified files:
>     sys/kern             sysv_shm.c 
>   Log:
>   prevent overflow in shminfo.shmmax
>   
>   Revision  Changes    Path
>   1.79      +5 -1      src/sys/kern/sysv_shm.c
> http://cvsweb.FreeBSD.org/src/sys/kern/sysv_shm.c.diff?r1=1.78&r2=1.79

for() loop will never be executed
calculations in for() loop also look suspicious

/fjoe

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216025032.A55015>