Y
Hacker News
new
|
ask
|
show
|
jobs
by
Locke1689
5362 days ago
In this case it should be fine because the second argument is a string literal (guaranteed to be null-terminated) and the function doesn't continue past the end of the first null-terminated string.