Skip to content
Snippets Groups Projects
Commit c29e5a62 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

key may be empty

parent 1bf5ea02
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,9 @@ int main (int argc, char const *const *argv, char const *const *envp)
if (!environ_get_key_nclean(&sa, &pos))
log_dieu(LOG_EXIT_SYS, "get key from line: ", sa.s + pos) ;
if (!sa.len)
continue ;
char tkey[strlen(sa.s) + 1] ;
auto_strings(tkey, sa.s) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment