What libc? Looks like there's still/again an integer overflow in calloc(), or am I reading this wrong?
-
-
Oh 1) Only for char array. 2) Can be checked via (uintptr_t).
-
3) Only a problem for generic libraries, self contained app can be sure not to create so large char arrays.
-
4) - can be defined so that it gives right result after a cast to uintptr_t (heh, that's your idea:-)
-
5) As we have seen with glibc's FILE and gconv interface passing end pointers is not a general solution.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.