]> git.sur5r.net Git - bacula/bacula/commit
Fix some errors reported by valgrind. May fix the problem with bsmtp command.
authorEric Bollengier <eric@baculasystems.com>
Tue, 8 Jul 2014 12:22:37 +0000 (14:22 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 26 Jul 2014 08:43:00 +0000 (10:43 +0200)
commit8c899771fd201ca678a2d775e679bfa71e1496d8
treec73916c02c0264ffa95fea12caee1f37f884619a
parent10241bee8ae16fa751639e715ce1ab9df06645dc
Fix some errors reported by valgrind. May fix the problem with bsmtp command.

 Conditional jump or move depends on uninitialised value(s)
    at 0x5045B75: makedir(JCR*, char*, unsigned int, int*) [clone .constprop.3] (mkpath.c:146)

 Syscall param unlink(pathname) points to unaddressable byte(s)
    at 0x74BAF67: unlink (in /usr/lib/libc-2.19.so)
    by 0x430BB9: restore_cleanup(JCR*, int) (restore.c:591)
bacula/src/dird/restore.c
bacula/src/dird/ua_restore.c