AST-2009-005

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-08-10 19:20:57 +00:00
parent 41894bea92
commit 642bec4d6f
101 changed files with 484 additions and 455 deletions

View File

@@ -270,7 +270,7 @@ static int update_curl(const char *url, const char *unused, const char *keyfield
while (*stringp <= ' ') {
stringp++;
}
sscanf(stringp, "%d", &rowcount);
sscanf(stringp, "%30d", &rowcount);
if (rowcount >= 0) {
return (int)rowcount;
@@ -334,7 +334,7 @@ static int update2_curl(const char *url, const char *unused, va_list ap)
while (*stringp <= ' ') {
stringp++;
}
sscanf(stringp, "%d", &rowcount);
sscanf(stringp, "%30d", &rowcount);
if (rowcount >= 0) {
return (int)rowcount;
@@ -395,7 +395,7 @@ static int store_curl(const char *url, const char *unused, va_list ap)
while (*stringp <= ' ') {
stringp++;
}
sscanf(stringp, "%d", &rowcount);
sscanf(stringp, "%30d", &rowcount);
if (rowcount >= 0) {
return rowcount;
@@ -461,7 +461,7 @@ static int destroy_curl(const char *url, const char *unused, const char *keyfiel
while (*stringp <= ' ') {
stringp++;
}
sscanf(stringp, "%d", &rowcount);
sscanf(stringp, "%30d", &rowcount);
if (rowcount >= 0) {
return (int)rowcount;