NetBSD Problem Report #53131

From www@NetBSD.org  Mon Mar 26 23:53:31 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5DCF07A177
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Mar 2018 23:53:31 +0000 (UTC)
Message-Id: <20180326235330.78EED7A262@mollari.NetBSD.org>
Date: Mon, 26 Mar 2018 23:53:30 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: sudo & visudo segfault
X-Send-Pr-Version: www-1.0

>Number:         53131
>Category:       port-hpcmips
>Synopsis:       sudo & visudo segfault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 26 23:55:00 +0000 2018
>Closed-Date:    Wed Mar 04 14:16:13 +0000 2020
>Last-Modified:  Wed Mar 04 14:16:13 +0000 2020
>Originator:     Sevan Janiyan
>Release:        NetBSD-8 from 201803082300Z
>Organization:
>Environment:
NetBSD 8.0_BETA cobalt mipsel
>Description:
Running visudo, even as an unprivileged user results in a core dump.
sudo also segfaults but understandably there is no core file generated by default.
Will try rebuilding with debugging enabled to see if I can get better info.

Core was generated by `visudo'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7dea35a0 in __do_global_ctors_aux () from /usr/pkg/lib/sudo/libsudo_util.so.0

>How-To-Repeat:
run visudo as any user
>Fix:

>Release-Note:

>Audit-Trail:
From: maya@netbsd.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-hpcmips/53131: sudo & visudo segfault
Date: Tue, 27 Mar 2018 00:59:17 +0000

 PR 52914

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 04 Mar 2020 14:16:13 +0000
State-Changed-Why:
Fixed by thorpej in 55043


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.