Re:Fuzzing ping(8) and finding a 24 year old bug
by bdhcuidbebe on Sunday December 11, 2022 @07:00AM
(#33942454)
It is interesting why you chose to write a blog article on a diff, without looking at it in context. What is your end game, lol.
[ Parent
| on HN ]
Re:Fuzzing ping(8) and finding a 24 year old bug
by nandalism on Sunday December 11, 2022 @09:40AM
(#33943582)
:) I am glad to have enterained you.
My end game is to get people to write
int const delta = (cp[IPOPT_OLEN] - 1);
instead of repeating expressions like this: (cp[IPOPT_OLEN] - 1) and adding variants elsewhere like this: cp[IPOPT_OLEN]. It's confusing and causes bugs. Naming things helps and costs nothing.