Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am really confused here.

1. Implementing a linked list is a one and done deal and should be included in a (standard) library.

2. Would a classic pointer based implementation of a linked list in C really be a cause of security vulnerability??



yea it's already in the standard library and it's very straightforward


The one in the standard library is non-intrusive and allocates space on the heap per node. In situations where a linked list implementation, in Rust code, no less, is deemed necessary, alternatives should probably be used.




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

Search: