🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #805

gnu tar 1.11: cvf dumps core

#805
From: Joe Ramey
Date: Thu, 10 Sep 1992 00:43
15 lines
983 bytes
tar cvf - . > /dev/null dumps core.  This is with GNU tar 1.11 on a
Sun4 running 4.1.1.

A gdb stack trace:

#0  quote_copy_string (string=0x0) at port.c:784
#1  0xe304 in print_header () at list.c:536
#2  0x6f7c in finish_header (header=0x24000) at create.c:1276
#3  0x6474 in dump_file (p=0xf7fffbaf ".", curdev=-1, toplevel=1)
    at create.c:683
#4  0x57f0 in create_archive () at create.c:178
#5  0x27b8 in main (argc=4, argv=0xf7fffb34) at tar.c:232

Looks like print_header expects current_file_name to be set to
something.
Technical Details
Message-ID: <9209100043.AA28106@ra.csc.ti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ra.CSc.ti.COM!ramey

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ra.CSc.ti.COM!ramey
From: ramey@ra.CSc.ti.COM (Joe Ramey)
Subject: gnu tar 1.11: cvf dumps core
Message-ID: <9209100043.AA28106@ra.csc.ti.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 10 Sep 1992 00:43:17 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 16