src/pEp_string.c
changeset 2437 97d602cc813b
parent 2376 997e80887f22
child 2440 3c45fce3ef40
     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