🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1453

Bug in GNU tar 1.03: exclude operation (-X)

#1453
From: Anton Rang
Date: Tue, 17 Jan 1989 03:40
15 lines
1097 bytes
System: Sun-3/280, SunOS 3.4.

The command line:

    gnutar -c -b 100 -v -f /tmp/rmt0 -z -l -V "cps45x: /usr 1-16-88" \
    -X /usr/users/staff/rang/stuff/00yy .

causes GNU tar to crash with the message "Couldn't re-allocate memory". 
I tracked it down to the routine add_exclude in tar.c, which calls
ck_realloc() on a null pointer.

+---------------------------+------------------------+----------------------+
| Anton Rang (grad student) | "UNIX: Just Say No!"   | "Do worry...be SAD!" |
| Michigan State University | rang@cpswh.cps.msu.edu |                      |
+---------------------------+------------------------+----------------------+
Technical Details
Message-ID: <1543@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!bu-cs!bloom-beacon!bionet!rutgers!mailrus!eecae!cps3xx!rang

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!bu-cs!bloom-beacon!bionet!rutgers!mailrus!eecae!cps3xx!rang
From: rang@cpsin3.cps.msu.edu (Anton Rang)
Newsgroups: gnu.utils.bug
Subject: Bug in GNU tar 1.03: exclude operation (-X)
Message-ID: <1543@cps3xx.UUCP>
Date: 17 Jan 89 03:40:16 GMT
Sender: usenet@cps3xx.UUCP
Reply-To: rang@cpswh.cps.msu.edu (Anton Rang)
Organization: Michigan State University, Computer Science Dept.
Lines: 15