Visual studio gives a Buffer overrun warning when overrun can't actually ever happen

后端 未结 0 1136
轻奢々
轻奢々 2021-01-03 22:03

this is my code:

void foo(int num) {
    int* pArr = (int*)malloc(num * sizeof(int));
    // allocate array of \'sale\' structs for each region
    for (int i         


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