Univention Bugzilla – Bug 36603
univention.debug segfault bei reopen()
Last modified: 2014-12-17 12:54:27 CET
$ python -c "import univention.debug as ud; ud.init('/var/log/univention/test.log', ud.FLUSH, ud.NO_FUNCTION); ud.reopen()"
Created attachment 6358 [details]
univention_debug_filename was never set and is therefore "\x00" which ends up in segfault when doing strcmp(univention_debug_filename, "stderr").
Attached patch fixes it.
This was fixed in Bug #37159.
*** This bug has been marked as a duplicate of bug 37159 ***
Please verify the duplicate.
The full patch is in svn r56825.
OK - 37316/17 duplicate