Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 103303
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 103661
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103303 depends on: Show dependency tree
Bug 103303 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-21 22:13 0000
Marcus found that cvsbug still has a tmp file problem. Although it  
creates files using mktemp it removes one of them in the middle of  
the script and then writes to it again.  
  
This should fix it:  
  
Index: cvs-1.12.12/src/cvsbug.in  
===================================================================  
--- cvs-1.12.12.orig/src/cvsbug.in  
+++ cvs-1.12.12/src/cvsbug.in  
@@ -109,14 +109,14 @@ elif [ -f /bin/domainname ]; then  
     /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:"  
|  
       cut -f5 -d':' | sed -e 's/,.*//' > $TEMP  
     ORIGINATOR="`cat $TEMP`"  
-    rm -f $TEMP  
+    > $TEMP  
   fi  
 fi  
   
 if [ "$ORIGINATOR" = "" ]; then  
   grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP  
   ORIGINATOR="`cat $TEMP`"  
-  rm -f $TEMP  
+  > $TEMP  
 fi  
   
 if [ -n "$ORGANIZATION" ]; then  
  
We are not going to release security updates just for this and I  
don't think it justifies an embargo, anyone disagree?  
 
--- 
 
Full Owl patches in URL.

------- Comment #1 From Sune Kloppenborg Jeppesen 2005-08-24 22:03:46 0000 -------
Opening new public bug. 

*** This bug has been marked as a duplicate of 103661 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug