Bug 483733

Summary: /usr/sbin/syslogtocern is broken
Product: [Fedora] Fedora Reporter: Petr Lautrbach <plautrba>
Component: thttpdAssignee: Matthias Saou <matthias>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: matthias
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-09 21:06:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Lautrbach 2009-02-03 12:52:57 UTC
Description of problem:
thttpd-2.25b-CVE-2005-3124.patch is broken with double `.

Line 
+tmp1=``mktemp -t stc1.XXXXXX` || { echo "$0: Cannot create temporary file" >&2; exit 1;  }

should be
+tmp1=`mktemp -t stc1.XXXXXX` || { echo "$0: Cannot create temporary file" >&2; exit 1;  }




Version-Release number of selected component (if applicable):
since thttpd-2.25b-CVE-2005-3124.patch

How reproducible:
always

Steps to Reproduce:
1. install thttpd
2. run /usr/sbin/syslogtocern with some argument
  
Actual results:
$ /bin/sh -n /usr/sbin/syslogtocern
/usr/sbin/syslogtocern: line 56: unexpected EOF while looking for matching ``'
/usr/sbin/syslogtocern: line 68: syntax error: unexpected end of file

$ /usr/sbin/syslogtocern file
/usr/sbin/syslogtocern: line 56: unexpected EOF while looking for matching ``'
/usr/sbin/syslogtocern: line 68: syntax error: unexpected end of file

  
Expected results:


Additional info:

Comment 1 Matthias Saou 2009-04-09 21:06:21 UTC
I'll take care of this at the same time I'll take care of the rest reported in bug #484205, so I'll close this entry. Thanks for the report!