mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Various: backport of bugfixes found via chaos
Using DEBUG_CHAOS several instances of a null pointer crash, and one uninitialized variable were uncovered and fixed. Also added details on why Asterisk failed to initialize. This is a backport of the fixes from Asterisk 13. Review: https://reviewboard.asterisk.org/r/4468/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@433086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -622,7 +622,7 @@ const char *ast_inet_ntoa(struct in_addr ia)
|
||||
}
|
||||
|
||||
#ifdef HAVE_DEV_URANDOM
|
||||
static int dev_urandom_fd;
|
||||
static int dev_urandom_fd = -1;
|
||||
#endif
|
||||
|
||||
#ifndef __linux__
|
||||
|
||||
Reference in New Issue
Block a user