Is it secure to use malloc?

Posted by Felix Guerrero on Stack Overflow See other posts from Stack Overflow or by Felix Guerrero
Published on 2010-05-15T16:57:28Z Indexed on 2010/05/16 5:10 UTC
Read the original article Hit count: 243

Filed under:
|
|

Somebody told me that allocating with malloc is not secure anymore, I'm not a C/C++ guru but I've made some stuff with malloc and C/C++. Does anyone know about what risks I'm into?

Quoting him:

[..] But indeed the weak point of C/C++ it is the security, and the Achilles' heel is indeed malloc and the abuse of pointers. C/C++ it is a well known insecure language. [..] There would be few apps in what I would not recommend to continue programming with C++."

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++