summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-05-01 10:14:45 +0100
committerVincent Sanders <vince@kyllikki.org>2015-05-01 10:14:45 +0100
commit59ceb7f10f39ddb205a14779de3ba58224f93254 (patch)
treef1ab87ad80d5ed20dac3f2dd8b5dbb1c21b2657c /test
parent22cadbba395422e32988e3d16e1a12ab9a85648d (diff)
downloadlibnsutils-59ceb7f10f39ddb205a14779de3ba58224f93254.tar.gz
libnsutils-59ceb7f10f39ddb205a14779de3ba58224f93254.tar.bz2
Ensure length is correctly initialised in tests.release/0.0.2
Diffstat (limited to 'test')
-rw-r--r--test/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/base64.c b/test/base64.c
index 0b4b942..7b09205 100644
--- a/test/base64.c
+++ b/test/base64.c
@@ -22,7 +22,7 @@
int main(int argc, char**argv)
{
uint8_t *buffer;
- size_t buffer_len;
+ size_t buffer_len=0;
uint8_t *output;
size_t output_len;