Bug 688978 - guestfish: double free or corruption if TMPDIR points to a non-existent directory
guestfish: double free or corruption if TMPDIR points to a non-existent direc...
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2011-03-18 13:44 EDT by Richard W.M. Jones
Modified: 2011-04-12 13:11 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-04-12 13:11:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2011-03-18 13:44:59 EDT
Description of problem:

[goldmann@work ~]$ TMPDIR=sadsadsa guestfish -a /dev/null 

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

><fs> launch 
libguestfs: error: sadsadsa/libguestfsXXXXXX: cannot create temporary directory: No such file or directory
*** glibc detected *** guestfish: double free or corruption (out): 0x00007fffeaa11510 ***
======= Backtrace: =========
======= Memory map: ========

Version-Release number of selected component (if applicable):

guestfish 1.8.1

(NOTE: RWMJ tested this on 1.9.11 and could not reproduce
the problem.  However I'm filing this bug just in case the
problem is still there, just hidden).

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Richard W.M. Jones 2011-03-18 14:50:56 EDT
This appears to have fixed itself magically between 1.8.1
and 1.8.2.  Since I'm not sure what commit fixed it, I'm
leaving this bug open out of caution.
Comment 2 Richard W.M. Jones 2011-04-12 13:11:53 EDT
This is not happening with 1.9.18.  Also I checked with
valgrind, and it cannot find anything.

Note You need to log in before you can comment on or make changes to this bug.