sic transit gloria mundi
authorVolker Birk <vb@pep.foundation>
Tue, 23 Jan 2018 20:53:17 +0100
changeset 243797d602cc813b
parent 2436 ee1c636d9a00
child 2439 dcb337e68add
child 2440 3c45fce3ef40
sic transit gloria mundi
src/pEp_string.c
     1.1 --- a/src/pEp_string.c	Tue Jan 23 16:27:19 2018 +0100
     1.2 +++ b/src/pEp_string.c	Tue Jan 23 20:53:17 2018 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4          assert(s);
     1.5      }
     1.6      else {
     1.7 -        s = calloc(1, len);
     1.8 +        s = calloc(1, len + 1);
     1.9          assert(s);
    1.10      }
    1.11