Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nitrogen
on Feb 6, 2014
|
parent
|
context
|
favorite
| on:
Simple Dynamic Strings library for C
Look at the man page for
alloca()
. Stack-allocated strings are more dangerous in the face of overflow than heap-allocated strings.
jhallenworld
on Feb 6, 2014
[–]
Well I did not mean that the strings are literally on the call stack. You can make your own stack (and it doesn't have to be a stack, just have the same semantics).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: