Path: 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 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 | | +---------------------------+------------------------+----------------------+