johnlauer/serial-port-json-server — pull request #4 by mandrav (2014-08-23 09:47:44+00:00)
Title: An EOF check has slipped...

There's another check for EOF which needs to be enclosed inside the number of characters read check.