MAINTAINERS: util-linux@math.uio.no SUBJECT: Bug in ul from util-linux 2.7 (with patch) The fuzz test showed that input lines longer than MAXBUF (512) characters cause a buffer overrun, quickly leading to a core dump. This patch dynamically expands the buffer (obuf) as needed if it ever exceeds 512 characters. I would like to treat overruns differently: when the buffer fills, process what's in the buffer, clear the buffer, and go on. But in this case you can't do that: you never know when the input might include a \b or \r that will force you to revisit information earlier in the line, so you must buffer the whole line no matter how long it is.