maximum line length for GDataInputStream
Submitted by Allison (desrt)
Link to original bug (#568765)
Description
GDataInputStream should have a way to set the maximum line length for read_line (and maybe something similar for read_until). When reading from a malicious network server, the server could potentially send you a very very long line and eat up all your memory.