mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
[apr] Fix dead assignment and use of uninitialized variable in strings.
This commit is contained in:
1 parent
c99149adc7
commit
5b63e4d045
2 files changed
+1
-2
No files matched your search
@@ -124,7 +124,7 @@ APR_DECLARE(void *) apr_pmemdup(apr_pool_t *a, const void *m, apr_size_t n)
|
||||
APR_DECLARE_NONSTD(char *) apr_pstrcat(apr_pool_t *a, ...)
|
||||
{
|
||||
char *cp, *argp, *res;
|
||||
apr_size_t saved_lengths[MAX_SAVED_LENGTHS];
|
||||
apr_size_t saved_lengths[MAX_SAVED_LENGTHS] = { 0 };
|
||||
int nargs = 0;
|
||||
|
||||
/* Pass one --- find length of required string */
|
||||
|
||||
Reference in new issue
Block a user