Skip to content
Snippets Groups Projects
Commit 4d3f4f71 authored by Mark Spencer's avatar Mark Spencer
Browse files

Get rid of TDS warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b240128e
No related branches found
No related tags found
No related merge requests found
...@@ -322,7 +322,7 @@ static char *anti_injection(const char *str, int len) ...@@ -322,7 +322,7 @@ static char *anti_injection(const char *str, int len)
/* Erase known bad input */ /* Erase known bad input */
for (idx=0; *known_bad[idx]; idx++) for (idx=0; *known_bad[idx]; idx++)
{ {
while(srh_ptr = stristr(buf, known_bad[idx])) /* fix me! */ while((srh_ptr = stristr(buf, known_bad[idx]))) /* fix me! */
{ {
memmove(srh_ptr, srh_ptr+strlen(known_bad[idx]), strlen(srh_ptr+strlen(known_bad[idx]))+1); memmove(srh_ptr, srh_ptr+strlen(known_bad[idx]), strlen(srh_ptr+strlen(known_bad[idx]))+1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment