From: Lukas Fleischer Date: Tue, 4 Jun 2013 14:47:53 +0000 (+0000) Subject: Use strbuf for reading configuration files X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/50e70d32f056c20db760328774d27524648fb739?ds=inline;hp=50e70d32f056c20db760328774d27524648fb739 Use strbuf for reading configuration files Use struct strbuf from Git instead of fixed-size buffers to remove the limit on the length of configuration file lines and refactor read_config_line() to improve readability. Note that this also fixes a buffer overflow that existed with the original fixed-size buffer implementation. Signed-off-by: Lukas Fleischer ---