Changelog: * src/ntp_11.c (ntp_1x_send_dependencies): Revert last commit as it removed a used variable. * src/ntp_11.c: remove unused variable to fix compilation wih GCC 4.6. * Close some leaks. Based on patch from Michael Wiegand. Backport from trunk r11050. * src/oval_plugins.c (start_element, text, oval_plugin_add): Always free memory that is allocated by glib functions. Take into account that the nvti_set_* functions duplicate the given memory. (ovaldi_launch): Add leak todos. * Deal with GCC 4.6 warnings. Thanks to Stephan Kleine for original patch. Backport from trunk r11034. * src/attack.c (attack_network): Remove stray variables. * src/nasl_plugins.c (nasl_thread): Check nice return. * src/openvassd.c (scanner_thread): Check nice return. * src/oval_plugins.c (oval_plugin_add): Set NVT description correctly in overlength case. * src/preferences.c (preferences_drop_privileges): Remove variable previously used for trace message. * src/shared_socket.c (openvassd_shared_socket_register): Check internal_recv return. * src/sighand.c (let_em_die): Remove return variable, as the waitpid may fail in legitimate cases. * tools/openvas-nvt-sync.in: Put the mktemp template last, otherwise Ubuntu 9.10 gives an error. (do_sync): Correct typo. * src/ntp_11.c (ntp_1x_send_dependencies): fixed memory leak reported by Valgrind. * src/pluginload.c (collect_nvts): fixed memory leak reported by Valgrind.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum