2 ms·
Uh... >The code that erases the line of asterisks does not properly reset the buffer position if there is a write error, but it does reset the remaining buffer
by salawat 7y ago
Uh...
>The code that erases the line of asterisks does not properly reset the buffer position if there is a write error, but it does reset the remaining buffer length...
Then the next paragraph:
>Because the remaining buffer length is not reset correctly on write error when the line is erased, a buffer on the stack can be overflowed.
So which is it? Does it correctly reset the buffer remaining length or not?
These types of contradictions existing in bug descriptions do not fill me with confidence that someone has actually fixed the issue. Guess I'll have to dig into this one myself. Just what I wanted to have to do. Excuse me while I go and learn way more about the innards of sudo than I ever wanted to.
- jlgaddis 7y ago> Excuse me while I go and learn way more about the innards of sudo than I ever wanted to. Or just disable pwfeedback, if you went out of your way to turn it on for some reason.