Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
int_19h
30 days ago
|
parent
|
context
|
favorite
| on:
Checked-size array parameters in C
I don't think such a thing exists simply because it would break so many headers if you turned that on, it wouldn't be particularly useful.
1over137
29 days ago
[–]
Why would it break headers? Who writes fn(array[16]) expecting less that 16 elements?
int_19h
24 days ago
|
parent
[–]
They might expect 16 elements if it's not null, but still consider null a valid value, for example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: