Date: Thu, 18 Jul 1996 09:30:28 -0700 From: "Jin Guojun[ITG]" <jin@george.lbl.gov> To: bugs@freebsd.org Subject: ipcs.c bug -- fixing attached Message-ID: <199607181630.JAA21487@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
Wrong argument msginfo used for shminfo. It causes core dump on command ipcs -m Here is the fixing: ------------------ usr/src/usr.bin/ipcs: patch ------------------------------ diff ipcs.c ipcs.c.new 313c313 < xshmids = malloc(sizeof(struct shmid_ds) * msginfo.msgmn i); --- > xshmids = malloc(sizeof(struct shmid_ds) * shminfo.shmmn i); ------------------------------------------------------------------------ -Jin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607181630.JAA21487>