Skip to content

Backport MR !2032 (gkeyfile: Drop a redundant check) into glib-2-68

Sebastian Dröge requested to merge sdroege/glib:glib-2-68-mr-2032 into glib-2-68

The code did not handle EOF (0 byte read) correctly. This can e.g. cause an infinite loop if an incorrect socks proxy is configured.

Add the appropriate checks and return an G_IO_ERROR_CONNECTION_CLOSED error if EOF is encountered.


Trivial backport of !2032 (merged)

Merge request reports