NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57979, fix confirmed



Hi,

I can confirm that the cvs commit by Michael van Elst fixes this
problem in my systems.

Kind regards,
Patrik Andersin

Michael van Elst writes:
 > The following reply was made to PR kern/57979; it has been noted by GNATS.
 > 
 > From: "Michael van Elst" <mlelstv%netbsd.org@localhost>
 > To: gnats-bugs%gnats.NetBSD.org@localhost
 > Cc: 
 > Subject: PR/57979 CVS commit: src/sys/kern
 > Date: Sat, 2 Mar 2024 08:59:47 +0000
 > 
 >  Module Name:	src
 >  Committed By:	mlelstv
 >  Date:		Sat Mar  2 08:59:47 UTC 2024
 >  
 >  Modified Files:
 >  	src/sys/kern: sysv_shm.c
 >  
 >  Log Message:
 >  Avoid overflow when computing kern.ipc.shmmax. Keep shmmax (bytes) and
 >  shmall (pages) values aligned and use arithmetic everywhere instead
 >  of shifts.
 >  Should fix PR 57979
 >  
 >  
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.141 -r1.142 src/sys/kern/sysv_shm.c
 >  
 >  Please note that diffs are not public domain; they are subject to the
 >  copyright notices on the relevant files.
 >  



Home | Main Index | Thread Index | Old Index