gnu/78161: typo in gzexe
Gael Queri
gael at lautre.net
Sun Feb 27 20:30:15 GMT 2005
>Number: 78161
>Category: gnu
>Synopsis: typo in gzexe
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 27 20:30:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gael Queri
>Release: FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD blobby.home 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #2: Sat Feb 26 18:18:41 CET 2005 gael at blobby.home:/usr/src/sys/i386/compile/BLOBBY i386
>Description:
There is a missing semicolon on line 107 of
/usr/src/gnu/usr.bin/gzip/gzexe
trap '/bin/rm -f $progtmp $gztmp exit $res' 0
^ there
This could potentially remove files called exit or <some number>.
>How-To-Repeat:
Hard to reproduce since it's only if the ln fails.
>Fix:
Simply correct the line to:
trap '/bin/rm -f $progtmp $gztmp; exit $res ' 0
>Release-Note:
>Audit-Trail:
>Unformatted:
non-critical
medium
sw-bug
More information about the freebsd-bugs
mailing list