Package: netsed
Version: 0.01c-2.1
Severity: serious
Once Netsed has received a connection that does not issue a quick shutdown,
the program enters a tight loop:
while(read_write_sed(fsock, csock)
;
The inner function executes alternate, non-blocking reads from the
two sockets. As long as neither socket end exterior to Netsed is
closed down, the forked process will easily consume 90% CPU power.
Such behaviour can be induced by the simple calls:
$ nc -l -p 8001
$ netsed tcp 7999 127.0.0.1 8001 s/none/none
$ curl http://127.0.0.1:7999/
Based on this, the inferior coding style, and the other bugs for this
software (cf. #230406), it is my recommendation that this piece be
judged unfit for maintainance in a Debian repository, and thus be
removed before the next release.
Regards,
Mats Erik Andersson, fil. dr
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]