4 ms·
It also previously matched operator9000, so the intent was obviously a simple prefix check, and thus preserving that behavior is essential to avoid breaking use
by tedunangst 3y ago
It also previously matched operator9000, so the intent was obviously a simple prefix check, and thus preserving that behavior is essential to avoid breaking userland.
- sltkr 3y agoHow is that obvious? Isn't it more likely that the author forgot to account for the terminating zero?
- tedunangst 3y agoYeah, strncmp is the wrong function, but it was already wrong before the recent change.