--- openvas-scanner-5.1.3/src/ntp.c 2018-08-29 19:27:26.000000000 +0300 +++ openvas-scanner-5.1.3/src/ntp.c 2019-02-02 00:57:56.832878754 +0300 @@ -361,9 +361,7 @@ } /*---------------------------------------------------------- - Communication protocol: timestamps - ----------------------------------------------------------*/ @@ -391,7 +389,7 @@ static int __ntp_timestamp_scan_host (int soc, char *msg, char *host) { - char timestr[1024]; + char timestr[64]; char *tmp; time_t t; int len; --- openvas-scanner-5.1.3/src/pluginload.c 2018-08-29 19:27:26.000000000 +0300 +++ openvas-scanner-5.1.3/src/pluginload.c 2019-02-02 00:59:24.494774959 +0300 @@ -250,7 +250,7 @@ g_slist_free_full (oids, g_free); } -static int +static void plugins_reload_from_dir (void *folder) { GSList *files = NULL, *f; --- openvas-scanner-5.1.3/src/processes.h 2018-08-29 19:27:26.000000000 +0300 +++ openvas-scanner-5.1.3/src/processes.h 2019-02-02 01:06:42.772908314 +0300 @@ -28,7 +28,7 @@ #ifndef _OPENVAS_THREADS_H #define _OPENVAS_THREADS_H -typedef int (*process_func_t) (void *); +typedef void (*process_func_t) (void *); pid_t create_process (process_func_t, void *); int terminate_process (pid_t);