NetBSD-Bugs archive

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

kern/60753: compat_ultrix shmsys(2): busted shmdt



>Number:         60753
>Category:       kern
>Synopsis:       compat_ultrix shmsys(2): busted shmdt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 20 12:25:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, ...
>Organization:
The UltrixBSD Foundabug, Inc.
>Environment:
>Description:

	`shmat' and `shmdt' are not the same thing!

    668 	case 2:						/* Ultrix shmdt() */
    669 		SCARG(&shmat_args, shmaddr) = (void *)SCARG(uap, a2);
    670 		return sys_shmdt(l, &shmdt_args, retval);

	https://nxr.netbsd.org/xref/src/sys/compat/ultrix/ultrix_misc.c?r=1.128#668

>How-To-Repeat:

	code inspection

>Fix:

	fix typo




Home | Main Index | Thread Index | Old Index