[PATCH v2] Use strbuf for reading configuration files
Lukas Fleischer
cgit at cryptocrack.de
Fri Aug 2 19:13:25 CEST 2013
On Thu, Jun 13, 2013 at 11:25:53PM +0200, Lukas Fleischer wrote:
> On Wed, Jun 05, 2013 at 01:17:00PM +0200, Lukas Fleischer wrote:
> > 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 <cgit at cryptocrack.de>
> > ---
> > configfile.c | 64 +++++++++++++++++++++++++++++++-----------------------------
> > configfile.h | 2 ++
> > 2 files changed, 35 insertions(+), 31 deletions(-)
> >
>
> Status...?
*bump*
I put all pending patches on the "for-jason" branch of my public cgit
repository [1], so it shouldn't take much longer than 20 seconds to
merge them into master...
>
> > [...]
> _______________________________________________
> CGit mailing list
> CGit at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/cgit
[1] http://git.cryptocrack.de/cgit.git/log/?h=for-jason
More information about the CGit
mailing list