push
github
say: fix NULL pointer dereference in log_syslog_init If opts.identity is NULL and strdup is failed we do NULL pointer dereference when reporting the error. Let's just panic if strdup() failed. While at it replace another strdup() with xstrdup() in this function. Our current approach is to panic on runtime OOM. Closes tarantool/security#128 NO_TEST=issue is not possible after the fix NO_CHANGELOG=not reproducible NO_DOC=bugfix (cherry picked from commit 47b72f449)
68481 of 121699 branches covered (56.27%)
3 of 4 new or added lines in 1 file covered. (75.0%)
58 existing lines in 14 files now uncovered.101078 of 115843 relevant lines covered (87.25%)
2507128.05 hits per line