Search Results
7/16/2025, 12:23:11 AM
>>212808712
>can't show
There's a potential memory leak on the highlighted line (if you exit on Nth allocation, you never free the N-1 allocated memory before that).
Also, this fizzbuzz has a O(n*m) complexity, which is fucking ridiculous.
And thirdly, you use scanf to read into a buffer on the stack, not checking the length, which is a potential buffer overflow.
You're really bad at C, malpa.
>can't show
There's a potential memory leak on the highlighted line (if you exit on Nth allocation, you never free the N-1 allocated memory before that).
Also, this fizzbuzz has a O(n*m) complexity, which is fucking ridiculous.
And thirdly, you use scanf to read into a buffer on the stack, not checking the length, which is a potential buffer overflow.
You're really bad at C, malpa.
Page 1