understanding the dangers of sprintf(…)

前端 未结 8 1438

OWASP says:

\"C library functions such as strcpy (), strcat (), sprintf () and vsprintf () operate on null terminated strings and perform no bou

8条回答
  •  春和景丽
    2020-12-01 05:12

    Your interpretation seems to be correct. However, your case #2 isn't really a buffer overflow. It's more of a memory access violation. That's just terminology though, it's still a major problem.

提交回复
热议问题