mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Get rid of TDS warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -322,7 +322,7 @@ static char *anti_injection(const char *str, int len)
|
||||
/* Erase known bad input */
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user