Commit Graph

235 Commits (20.2)

Author SHA1 Message Date
Scott Griepentrog 8c65c9167e Various: bugfixes found via chaos
10 years ago
Scott Griepentrog 7ca1a0da04 various: cleanup issues found during leak hunt
10 years ago
Walter Doekes 8b6ecc449c Fix printf problems with high ascii characters after r413586 (1.8).
11 years ago
Corey Farrell 7e2369310c Fix unintential memory retention in stringfields.
11 years ago
George Joseph d5de94201e config: Make text_file_save and 'dialplan save' escape semicolons in values.
11 years ago
George Joseph ad8ef9175a utils: Create ast_strsep function that ignores separators inside quotes
11 years ago
Kinsey Moore bf85018107 CallerID: Fix parsing of malformed callerid
11 years ago
Walter Doekes 1e0846167b general: Fix memory Corruption in __ast_string_field_ptr_build_va.
11 years ago
Matthew Jordan a2c912e997 media formats: re-architect handling of media for performance improvements
11 years ago
Scott Griepentrog 0a99e4099b astobj2: assert on invalid ref and backtrace cleanup
11 years ago
Matthew Jordan d1c6a9e69e main/untils: Prevent potential infinite loop in ast_careful_fwrite
11 years ago
Corey Farrell db6a8a6347 Move eid functions to utils.c, mark netsock.h deprecated
11 years ago
Richard Mudgett 4ca5745dbe AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections.
11 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
11 years ago
Richard Mudgett 9be438299d Add some asserts that were handy when looking for a stasis cache problem.
11 years ago
Jonathan Rose 2a9d15b400 Thread Debugging: Add LWP to core show locks output
11 years ago
Kevin Harwell 05cbf8df9b res_pjsip: AMI commands and events.
12 years ago
Jonathan Rose 6fb07febbc utils: Fix memory leaks and missed unregistration of CLI commands on shutdown
12 years ago
Richard Mudgett 97fcd6366d MALLOC_DEBUG: Fix some misuses of free() when MALLOC_DEBUG is enabled.
12 years ago
David M. Lee c2e6e1ef49 Fix DEBUG_THREADS when lock is acquired in __constructor__
12 years ago
Richard Mudgett 46b9e5450f Fix memory corruption when trying to get "core show locks".
12 years ago
Richard Mudgett a847e65b2c Fix utilities compilation/linking.
12 years ago
Kinsey Moore a4ffa9f72b Improve sounds indexer CLI commands
12 years ago
Walter Doekes c43e19e8e5 Prevent heap alloc functions from running out of stack space.
12 years ago
Kinsey Moore 3f46d461bf Fix deadlocks in chan_sip in REFER and BYE handling
12 years ago
Matthew Jordan 2a8219b64a Prevent spurious memory error when appending backtrace with MALLOC_DEBUG
12 years ago
Richard Mudgett e26d4ec83a Reinclude sys/stat.h in chan_dahdi.c and remove redundant include in utils.c
12 years ago
David M. Lee 04cde027d4 Fix utils directory breakage.
12 years ago
David M. Lee a75fd32212 ARI - channel recording support
12 years ago
David M. Lee 9ba976b19c ARI authentication.
12 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
12 years ago
Alec L Davis 0b87695460 Add Asterisk Version to core show locks
12 years ago
David M. Lee aecd2429bd Fix XML encoding of 'identity display' in NOTIFY messages.
12 years ago
Russell Bryant fad2637297 Remove compile time check HAVE_DEV_URANDOM.
13 years ago
David M. Lee 23c53c18c0 Fixed ast_random's comment about locking.
13 years ago
Matthew Jordan 530ce21b5d Reorder startup sequence to prevent lockups when process is sent to background
13 years ago
Richard Mudgett 3a9640b605 Add MALLOC_DEBUG enhancements.
13 years ago
Mark Michelson f2bb9afe17 Multiple revisions 375993-375994
13 years ago
Kinsey Moore e13db61695 Implement workaround for BETTER_BACKTRACES crash
13 years ago
Mark Michelson 6a539ace84 Fix misuses of asprintf throughout the code.
13 years ago
Kinsey Moore 6c8f4f5fff Fix for commit r371535
13 years ago
Kinsey Moore ca314fe1e2 Apply work-around for BETTER_BACKTRACES crash
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Kevin P. Fleming 166b4e2b30 Multiple revisions 369001-369002
13 years ago
Richard Mudgett 745484e1b3 Fix error paths in action_hangup() for AMI Hangup action.
13 years ago
Joshua Colp 380c7c5c39 Add res_http_websocket module which implements the WebSocket protocol according to RFC 6455.
13 years ago
Mark Murawki e4252eac10 Allow the Hangup manager action to match channels by regex
13 years ago
Jonathan Rose c6979ff581 Adds F option to Bridge application
13 years ago
Kinsey Moore c5b3db1956 Kill off red blobs in most of main/*
13 years ago
Matthew Jordan cca1f9f48a Fix remotely exploitable stack overflow in HTTP manager
13 years ago
Walter Doekes 41f5a1ab35 Update stringfield documentation for removed second va_list in favor of va_copy.
13 years ago
Walter Doekes 735e48f92f Use __alignof__ instead of sizeof for stringfield length storage.
14 years ago
Walter Doekes 7fd2a68b0e Ensure that string field lengths are properly aligned
14 years ago
Terry Wilson fc8d4e823c Use va_copy for stringfields
14 years ago
Sean Bright fe5938c51e Merged revisions 316917-316919 via svnmerge from
14 years ago
Alec L Davis 858c11f075 Merged revisions 310781 via svnmerge from
14 years ago
Tilghman Lesher 16c3ea3d42 Merged revisions 304950 via svnmerge from
14 years ago
Matthew Nicholson 2686253f16 Use unsigned char in comparison for UTF8 check to quiet a compiler warning.
14 years ago
Matthew Nicholson e706b5706e According to section 19.1.2 of RFC 3261:
14 years ago
Sean Bright 5943a34463 Merged revisions 302555 via svnmerge from
14 years ago
Sean Bright bd26287e88 Merged revisions 302505 via svnmerge from
14 years ago
Matthew Nicholson 50a0c8a646 Merged revisions 301308 via svnmerge from
15 years ago
Tilghman Lesher b98e47d119 Merged revisions 298960 via svnmerge from
15 years ago
Jeff Peeler 78bd0de1a9 Add support for several platforms to obtain the real thread ID.
15 years ago
Tilghman Lesher fc21c6f9e9 Merged revisions 281085 via svnmerge from
15 years ago
Tzafrir Cohen c613897d1c Fix various typos reported by Lintian
15 years ago
Jeff Peeler 2d26a2da1f Add new unit test for stringfields.
15 years ago
David Vossel d16b89be17 RFC compliant uri and display-name encode/decode
15 years ago
Mark Michelson fe72baf06b Make sure to set owner_line, ownder_func, and owner_file in ast_calloc_with_stringfields.
16 years ago
Russell Bryant 3a6d247def Fix build of utility apps that include utils.c.
16 years ago
Russell Bryant 630152f848 Merged revisions 237697 via svnmerge from
16 years ago
David Vossel e44e6b33b3 fixes incorrect logic in ast_uri_encode
16 years ago
Matthew Nicholson f44f8650cb Merged revisions 228378 via svnmerge from
16 years ago
Michiel van Baak 7348bacf05 Merged revisions 216435 via svnmerge from
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Kevin P. Fleming e4dafd3d0b Ensure that accidental calls to ast_string_field_free_memory() on embedded stringfield pools are safe.
16 years ago
Joshua Colp e960f0da90 Fix a bug in stringfields where it did not actually free the pools of memory.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Kevin P. Fleming 2746f589b7 Add a more efficient way of allocating structures that use stringfields
16 years ago
Kevin P. Fleming 1f49e675bb Correct some flaws in the memory accounting code for stringfields and ao2 objects
16 years ago
Kevin P. Fleming d8182202ef Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode
16 years ago
Tilghman Lesher ce6ebaef97 Support HTTP digest authentication for the http manager interface.
16 years ago
Kevin P. Fleming a009068110 Optimizations to the stringfields API
16 years ago
Russell Bryant 0bdd99ad64 Merged revisions 182810 via svnmerge from
16 years ago
Doug Bailey 7949345352 Fixed error where a check for an zero length, terminated string was needed.
16 years ago
Doug Bailey fa3dec169b Need to take into account the \0 terminator of the old string to determine the amount available.
16 years ago
Kevin P. Fleming 0381d94d14 Merged revisions 176216 via svnmerge from
16 years ago
Russell Bryant 50387142b7 Merged revisions 166297 via svnmerge from
17 years ago
Russell Bryant c2999a8366 Introduce ast_careful_fwrite() and use in AMI to prevent partial writes.
17 years ago
Russell Bryant 1cb4baade2 Merged revisions 165796 via svnmerge from
17 years ago
Russell Bryant c8da171dd1 Merged revisions 164881 via svnmerge from
17 years ago
Joshua Colp 6df30fb8cc Update to work with new ast_str changes.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Russell Bryant 179667088b Merged revisions 162413 via svnmerge from
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Tilghman Lesher afb571ba8f Starting with a change to ensure that ast_verbose() preserves ABI compatibility
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Kevin P. Fleming f910cfc444 Merged revisions 132872 via svnmerge from
17 years ago
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
17 years ago
Tilghman Lesher 09c15a0b71 Merged revisions 125793 via svnmerge from
17 years ago