Hacker News new | past | comments | ask | show | jobs | submit login

The changes introduced are potentially extremely damaging. Take for example:

https://github.com/libressl-portable/openbsd/search?utf8=%E2...




What's damaging about reallocarray?


Did you read the article?

NetBSD's implementation, specifically with regard to how it handles deallocation, diverges from OpenBSDs - though its documentation is wrong.

LibreSSL (for example) will compile just fine on NetBSD, but as the logic of the two implementations differ so too will correct memory management in LibreSSL. This is just one example of how a port of secure code can be made insecure.

So it doesn't have to do with reallocarray specifically. It has to do with drawing out the security implications of the article under discussion.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: