Jaroslav Skarvada:
> postfix-3.2.5/src/util/dict_random.c:112: leaked_storage: Variable "argv" 
> going out of scope leaks the storage it points to.
> #  110|       || ((argv = argv_splitq(saved_name, CHARS_COMMA_SP, 
> CHARS_BRACE)),
> #  111|           (argv->argc == 0)))
> #  112|->     DICT_RANDOM_RETURN(dict_surrogate(DICT_TYPE_RANDOM, name,
> #  113|                                         open_flags, dict_flags,
> #  114|                                         "bad syntax: \"%s:%s\"; "

Error during error recovery during process initialization. This is
not important enough to change code for. We do memory leak checks
for many code paths, but leaks during program initialization errors
are not covered well.

This was fixed in Postfix 3.4 as I rewrote this module to support
(key, filename) support.

Thanks for not posting the false positives.

        Wietse

Reply via email to