Fix off-by-one in buffer length in int_to_env
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Jan 2016 19:07:52 +0000 (19:07 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 28 Jan 2016 13:30:14 +0000 (13:30 +0000)
commit62968599557ac81b0f811481f6b06886ddcf0cdb
treeb3c022332d8b29bf00c7a72c4ee400ccdf09b9e9
parenta6bbd1d7f5c25b092f143b579860a44e5b0f929e
Fix off-by-one in buffer length in int_to_env

We need to allow for '=', negative sign, 10 digits and the null
terminator, adding up to 13 bytes not 12.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
src/script.c