Commit Graph

195 Commits (eccdf2250b066fb8d67b38c096da444417a8da22)

Author SHA1 Message Date
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
Jason Parker c1e4f50f54 Merged revisions 125587 via svnmerge from
17 years ago
Brett Bryant b4574d2a79 Add errors that report any locks held by threads when they are being closed.
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Russell Bryant 51051ce949 Add lock tracking for rwlocks. Previously, lock.h only had the ability to
17 years ago
Russell Bryant da85b710ef Fix a minor merge issue that caused a function to not get compiled in with
17 years ago
Tilghman Lesher 6e5d843a71 Merged revisions 118953 via svnmerge from
17 years ago
Mark Michelson 975a848b67 A new feature thanks to the fine folks at Switchvox!
17 years ago
Russell Bryant 61e6ae545b Merged revisions 118048 via svnmerge from
17 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
17 years ago
Mark Michelson 2e054642d5 Merged revisions 115735 via svnmerge from
17 years ago
Tilghman Lesher 95490ee5c2 Merged revisions 115017 via svnmerge from
17 years ago
Steve Murphy 161b4abd79 Hopefully, this will resolve the issues that russellb had with this log_show_lock().
17 years ago
Russell Bryant 0270b3d6c9 Make this file compile. The variable str is never set anywhere. Furthermore,
17 years ago
Steve Murphy 752f6681b1 A small enhancement-- I added the routine log_show_lock to utils.c, which if the mentioned lock has been acquired, this routine will log to the console the normal info about that lock you'd see from the CLI when you do a 'core show locks'. It's solely for debug-- if the lock is NOT acquired, there is no output. I use it to show 'unexpected' locks, to see where/why a lock is pre-locked. This command is to be called from points of interest, like just before a trylock, and helps to spot fleeting, highly temporal locks that normally are not locked...
17 years ago
Mark Michelson 115d5024a1 Merged revisions 114051 via svnmerge from
17 years ago
Russell Bryant c1cf92d304 Merged revisions 109838 via svnmerge from
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Mark Michelson b246e010d5 Merged revisions 109226 via svnmerge from
17 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
17 years ago
Russell Bryant 7da06e6cb8 Merged revisions 105116 via svnmerge from
17 years ago
Russell Bryant 16b84e260c Merged revisions 104102 via svnmerge from
17 years ago
Joshua Colp c81350d6f6 Just some minor coding style cleanup...
17 years ago
Tilghman Lesher 81e421284d New module res_config_curl (closes issue #11747)
18 years ago
Tilghman Lesher f48ed5a943 Merged revisions 97194 via svnmerge from
18 years ago
Luigi Rizzo 8e4360b072 Add a new API function, written at least twice in app_voicemail.c
18 years ago
Joshua Colp 3bc9c162f1 Merged revisions 93377 via svnmerge from
18 years ago
Tilghman Lesher 99308dfb4e Conversions of free to ast_free, where applicable, and several other formatting fixes.
18 years ago
Russell Bryant 8093fa188b Merged revisions 91830 via svnmerge from
18 years ago
Russell Bryant ec846d6cf2 Merged revisions 91074 via svnmerge from
18 years ago
Joshua Colp 98fbe822f5 Ensure the value returned from ast_random is between 0 and RAND_MAX on 64-bit platforms.
18 years ago
Joshua Colp 72a8e08bf5 Revert change for 11348 until it can be looked at even more.
18 years ago
Joshua Colp a1b79aa278 Make the behavior of using /dev/urandom for random numbers the same as random().
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Mark Michelson 3851bc9789 There existed about a 1 in 4 billion chance that reading from /dev/urandom
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo a0f06d0dd5 start using asterisk/network.h for network related headers.
18 years ago
Luigi Rizzo 130b6291cb netdb.h is used for gethostbyname, and it was not included in some
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Tilghman Lesher 8309f54e39 If we're going to be passing a negative value for the size of a stringfield,
18 years ago
Tilghman Lesher 9cd09c5214 Merged revisions 89239 via svnmerge from
18 years ago