scanf Cppcheck warning

后端 未结 3 471
情话喂你
情话喂你 2021-01-18 00:17

Cppcheck shows the following warning for scanf:

Message: scanf without field width limits can crash with huge input data. To fix this error message add a field wi         


        
3条回答
  •  一生所求
    2021-01-18 01:16

    I tried running the perl expression against the C program and it did crash here on Linux (segmentation fault).

提交回复
热议问题