From nobody@FreeBSD.ORG  Sat Jan  1 18:23:18 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id BC4D615006; Sat,  1 Jan 2000 18:23:18 -0800 (PST)
Message-Id: <20000102022318.BC4D615006@hub.freebsd.org>
Date: Sat,  1 Jan 2000 18:23:18 -0800 (PST)
From: jacobsm@gate.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: pr command segfaults as non-root user
X-Send-Pr-Version: www-1.0

>Number:         15831
>Category:       bin
>Synopsis:       pr command segfaults as non-root user
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  1 18:30:00 PST 2000
>Closed-Date:    Sun Jan 2 11:55:06 PST 2000
>Last-Modified:  Sun Jan  2 11:57:52 PST 2000
>Originator:     Mark Jacobs
>Release:        3.4 Stable, 1/1/2000 Buildworld
>Organization:
NA
>Environment:
>Description:
pr command when run as non-root user receives an SIGSEGV in strftime
from /usr/lib/libc.so.3
>How-To-Repeat:
Sign on as non-root user, enter pr without any filename or options. 
it should fail.
>Fix:


>Release-Note:
>Audit-Trail:

From: Alexander Langer <alex@big.endian.de>
To: jacobsm@gate.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/15831: pr command segfaults as non-root user
Date: Sun, 2 Jan 2000 11:16:23 +0100

 Thus spake jacobsm@gate.net (jacobsm@gate.net):
 
 > Sign on as non-root user, enter pr without any filename or options. 
 > it should fail.
 
 It doesn't for me.
 
 Can you start it with gdb, please?
 
 alex:~ $ gdb pr
 GNU gdb 4.18
 Copyright 1998 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and
 you are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i386-unknown-freebsd"...
 (no debugging symbols found)...
 (gdb) run
 Starting program: /usr/bin/pr 
 (no debugging symbols found)...(no debugging symbols found)...
 Program exited normally.
 (gdb) quit
 
 Alex
 
 -- 
 I doubt, therefore I might be. 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Jan 2 11:55:06 PST 2000 
State-Changed-Why:  
Still not enough information to help out.  I cannot reproduce this on any 
of the boxes here either, so I can't guess at what might be wrong.  Please 
send us the information that I requested of you in private mail and we'll 
help to the best of our ability.  Please don't open another PR.  If you 
want to send us details of the problem, do so as a followup to this PR. 
Thanks. 
>Unformatted:
