commit | 3c4c063a2fd5cc6e9ce2b5db82e2a0dfa59b2e40 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Thu Jul 19 15:05:56 2012 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Thu Jul 19 15:05:56 2012 +0200 |
tree | 8535cd3e7deec15acb3eae4d2728a03640e3f778 | |
parent | 86439d5ab68431c6246d5f869c7f0483fbf585e0 [diff] |
Fix crash caused by freeing a stack address The failure path of try_get_path2() erronously tried to free the "path1" value (an address on the stack) instead of the allocated string pointed to by "path1". This caused the library to crash. Reported by Itay Perl