aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
AgeCommit message (Expand)AuthorFilesLines
2011-01-11Prevent buffer overflows in ast_uri_encode()mnicholson1-14/+13
2010-12-17Let Asterisk find better backtrace information with libbfd.tilghman1-0/+20
2010-03-20Resolve a number of FreeBSD build issues.russell1-2/+2
2010-01-05Change a NOTICE log message to DEBUG where it belongs.russell1-1/+3
2009-12-07hex escape control and non 7-bit clean characters in uri_encodedvossel1-1/+1
2009-11-06Properly handle '=' while decoding base64 messages and null terminate strings...mnicholson1-1/+1
2009-09-04make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSDmvanbaak1-1/+1
2009-08-10AST-2009-005tilghman1-1/+1
2009-03-18Fix cases where the internal poll() was not being used when it needed to be.russell1-2/+2
2009-02-18Merged revisions 177035 manually from dbailey1-1/+1
2009-02-18Need to take into account the \0 terminator of the old string to determine th...dbailey1-1/+1
2009-02-16correct a logic error in the last stringfields commit... don't mark additiona...kpfleming1-3/+5
2009-02-16fix a flaw in the ast_string_field_build() family of API calls; these functio...kpfleming1-11/+36
2008-12-22Fix up timeout handling in ast_carefulwrite().russell1-1/+18
2008-12-18Make ast_carefulwrite() be more careful.russell1-13/+38
2008-12-16Fix an issue where DEBUG_THREADS may erroneously report that a thread russell1-0/+6
2008-12-09Remove the test_for_thread_safety() function completely.russell1-62/+0
2008-11-03somehow missed a bunch of gcc 4.3.x warnings in this branch on the first passkpfleming1-2/+5
2008-07-23revert an optimization that broke ABI... thanks russell!kpfleming1-26/+0
2008-07-23minor optimization for stringfields: when a field is being set to a larger va...kpfleming1-2/+28
2008-06-27In this debugging function, copy to a buffer instead of using potentially uns...tilghman1-4/+4
2008-06-26Make sure to unlock the lock_info lock (huh?). Possible deadlock?qwell1-0/+3
2008-06-19Merge revision 124064 from trunk. Add errors that report any locks held by th...bbryant1-0/+14
2008-05-29Add some debugging code that ensures that when we do deadlock avoidance, wetilghman1-0/+28
2008-05-23Don't declare a function that takes variable arguments as inline, because it'srussell1-0/+14
2008-05-12If a thread holds no locks, do not print any information on the thread when i...mmichelson1-38/+40
2008-05-01'#' is another reserved character for URIs that also needs to be escaped.tilghman1-1/+1
2008-04-10Fix 1.4 build when LOW_MEMORY is enabled.mmichelson1-0/+2
2008-03-19Tweak spacing in a recent change because I'm very picky.russell1-1/+1
2008-03-17Fix a logic flaw in the code that stores lock info which is displayedmmichelson1-1/+1
2008-02-28Fix a bug in the lock tracking code that was discovered by mmichelson. The i...russell1-5/+9
2008-02-25Improve the lock tracking code a bit so that a bunch of old locks that threadsrussell1-1/+10
2008-01-08Increase constants to where we're less likely to hit them while debugging.tilghman1-1/+1
2007-12-17Do not try to access information about a lock when printing out a trylock att...file1-1/+1
2007-12-07Make the lock protecting each thread's list of locks it currently holdsrussell1-1/+6
2007-12-05When DEBUG_THREADS is enabled, we only have the details about who is holdingrussell1-0/+4
2007-11-13Debugging is running into the 16-lock limit. Increase to avoid.tilghman1-1/+1
2007-10-29Add some more details to the output of "core show locks". When a threadrussell1-0/+15
2007-10-29Fix issue with ast_unescape_semicolon going into an endless loop.file1-0/+2
2007-10-18Revert a change that I made for issue #10979 which, as has been pointed out torussell1-3/+0
2007-10-15Be pedantic about handling memory allocation failure.russell1-1/+14
2007-10-15The loop in the handler for the "core show locks" could potentially block forrussell1-7/+16
2007-10-15Make sure that the base64 decoder returns a terminated string.russell1-0/+3
2007-10-10The thread ID should be unsigned.mmichelson1-1/+1
2007-10-09This commit fixes the following issues:tilghman1-2/+15
2007-10-01Fulfull a feature request from Qwell on the "core show locks" output. It willrussell1-4/+22
2007-08-17Don't send a semicolon over the wire in sip notify messages.qwell1-0/+15
2007-08-03Add some improvements to lock debugging. These changes take effectrussell1-6/+248
2007-08-01Whoops, I meant R_5 not R5.file1-1/+1
2007-08-01Extend autoconf logic to determine which version of gethostbyname_r is on the...file1-2/+2