Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
10000truths
on July 30, 2021
|
parent
|
context
|
favorite
| on:
strcpy: A niche function you don't need
In practice, it is almost always a compile-time-known string. gcc will warn you if it isn't, especially since allowing the use of untrusted input for the format can lead to vulnerabilities:
https://en.wikipedia.org/wiki/Uncontrolled_format_string
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://en.wikipedia.org/wiki/Uncontrolled_format_string