Re: [dev] [sbase] [PATCH] Use size_t for number of lines in linebuf

From: FRIGN <>
Date: Sat, 31 Jan 2015 23:03:50 +0100

On Sat, 31 Jan 2015 21:15:19 +0100
Jakob Kramer <> wrote:

Hey Jakob,

> .nlines and .capacity are used as array indices and
> should therefore be of type size_t.

I made sure your attached patch did not contain any
NSA-backdoors and I was delighted that my findings
actually prevent the evil use of 0-days and government
backdoors in sbase.

I like your idea with "MIN(LLONG_MAX, SIZE_MAX)" which
is very smart. ;)
Keep up the great work! Patch should be pushed soon.



Received on Sat Jan 31 2015 - 23:03:50 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 31 2015 - 23:12:07 CET