Module: kamailio Branch: master Commit: 522c338abff05634b6eff2a50e2827abf748902c URL: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827abf748902c
Author: Daniel-Constantin Mierla <[email protected]> Committer: GitHub <[email protected]> Date: 2018-10-03T09:16:15+02:00 Merge pull request #1664 from mslehto/Wsometimes_uninitialized sipcapture: initialize variable --- Modified: src/modules/sipcapture/sipcapture.c --- Diff: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827abf748902c.diff Patch: https://github.com/kamailio/kamailio/commit/522c338abff05634b6eff2a50e2827abf748902c.patch --- diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c index bb3332b26f..327e4e110f 100644 --- a/src/modules/sipcapture/sipcapture.c +++ b/src/modules/sipcapture/sipcapture.c @@ -2499,7 +2499,8 @@ int receive_logging_json_msg(char *buf, unsigned int len, struct timezone tz; time_t epoch_time_as_time_t; - str tmp, corrtmp, table; + str tmp, table; + str corrtmp = STR_NULL; _capture_mode_data_t *c = NULL; c = capture_def; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
