Commit Graph

219 Commits (3bad41257bcd4470a773fc12d0d62a678a95ede0)

Author SHA1 Message Date
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
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Tilghman Lesher c2aee728e9 Conditionally free lock_info->thread_name to avoid a useless warning
18 years ago
Russell Bryant f7782d60d1 Merged revisions 87396 via svnmerge from
18 years ago
Joshua Colp 0769dd6e1e Merged revisions 87294 via svnmerge from
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant ac4d66cc73 Merged revisions 86237 via svnmerge from
18 years ago
Russell Bryant 4c1b8cb9fa Merged revisions 85649 via svnmerge from
18 years ago
Russell Bryant ac9a6dce25 Merged revisions 85647 via svnmerge from
18 years ago
Russell Bryant 42b2f932d2 Merged revisions 85543 via svnmerge from
18 years ago
Tilghman Lesher e9221b062e Merged revisions 85158 via svnmerge from
18 years ago
Russell Bryant 9334e72e76 Merged revisions 84271 via svnmerge from
18 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
18 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
18 years ago
Joshua Colp 28fec17d59 Merged revisions 77867 via svnmerge from
18 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
18 years ago
Russell Bryant 3ed2deb7df Ensure that the read from /dev/urandom returns a positive result
18 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Tilghman Lesher a48fdb83a5 Merged revisions 51195 via svnmerge from
19 years ago
Luigi Rizzo 2703a1a9df forgot this part...
19 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
19 years ago
Luigi Rizzo 961754d4b1 move the dynamic string support in a better place i.e. string.h
19 years ago
Russell Bryant eaf98f31e8 Go ahead and make this write unconditional. Making it conditional is more work
19 years ago
Russell Bryant 8ca3d51634 Remove an XXX command suggesting that this truncation should not be conditional,
19 years ago
Luigi Rizzo 5e7aebf9ac some simplifications to
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Luigi Rizzo 403135f646 explain why ast_carefulwrite is written the way it is,
19 years ago
Russell Bryant 2e5e32c574 Merged revisions 46561 via svnmerge from
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Luigi Rizzo 9bbf557dfb use autodetected support for gethostbyname_r
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Kevin P. Fleming 0638096e5c Merged revisions 45027 via svnmerge from
19 years ago
Kevin P. Fleming 035aeb82e4 Merged revisions 44956 via svnmerge from
19 years ago
Kevin P. Fleming c28461197b Merged revisions 44390 via svnmerge from
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Kevin P. Fleming d5f812e0b1 don't try to get the length of the string in the ast_dynamic_str object unless we know there is actually one there
19 years ago
Russell Bryant 3057660a79 when calling this function to append to a dynamic string and the buffer was not
19 years ago
Tilghman Lesher d2b7882788 Off by one error in buffer length (issue 7379)
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago