]> git.ipfire.org Git - thirdparty/bacula.git/commit
tray-monitor: fix potential memory corruption
authorAlain Spineux <alain@baculasystems.com>
Thu, 24 Oct 2019 13:12:56 +0000 (15:12 +0200)
committerRadosław Korzeniewski <radekk@inteos.pl>
Sat, 14 Dec 2019 15:02:18 +0000 (16:02 +0100)
commit11124c29f0bff902bc215baab22fbbd6aad263bf
tree8e5c353b96ca5be6fdecebd3996632052389fa29
parentd711fb95e6df26aeddad07a0baf1458e80f4a040
tray-monitor: fix potential memory corruption

- init_resource() initialize a resource using the wrong size
- rename one of the two init_resource() (with a '0') because they now
  have a similar parameters and are difficult to differentiate
bacula/src/lib/parse_conf.c
bacula/src/lib/parse_conf.h
bacula/src/qt-console/tray-monitor/conf.cpp