Skip to content

Commit

Permalink
mapserv.c: silence warning about tainted_string (CID 1174470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 22, 2021
1 parent 480b4f2 commit 05c4879
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mapserv.c
Expand Up @@ -195,6 +195,7 @@ int main(int argc, char *argv[])
} else if( strncmp(argv[iArg], "QUERY_STRING=", 13) == 0 ) {
/* Debugging hook... pass "QUERY_STRING=..." on the command-line */
putenv( "REQUEST_METHOD=GET" );
/* coverity[tainted_string] */
putenv( argv[iArg] );
} else if (strcmp(argv[iArg], "--h") == 0 || strcmp(argv[iArg], "--help") == 0) {
printf("Usage: mapserv [--help] [-v] [-nh] [QUERY_STRING=value]\n");
Expand Down

0 comments on commit 05c4879

Please sign in to comment.