How to avoid second order sql injection attack when using database data with fgetc( stdin) in c++

前端 未结 0 1530
伪装坚强ぢ
伪装坚强ぢ 2020-12-29 01:13
std::string sQuery;
char ch= NULL;
ch = fgetc(stdin);
if(ch != EOF)
{
    sQuery += ch;
}

checkmarx is complaining about the code saying that fgetc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题