aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-19 18:20:17 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-01-19 18:20:17 +0200
commit4d1a474347bdaf3b943ecc393d61bfc630550702 (patch)
tree90c35b2c5dca07f8a729dcd90b3301e345734ad1
parent4d1258de786a83888d123f4e8f791f1ad6ecf605 (diff)
downloadeclat-4d1a474347bdaf3b943ecc393d61bfc630550702.tar.gz
eclat-4d1a474347bdaf3b943ecc393d61bfc630550702.tar.bz2
Bugfix
* lib/reqsign.c (eclat_hex_encode): add terminating zero
-rw-r--r--lib/reqsign.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reqsign.c b/lib/reqsign.c
index 4250907..575ccd0 100644
--- a/lib/reqsign.c
+++ b/lib/reqsign.c
@@ -142,6 +142,7 @@ eclat_hex_encode(unsigned char *input, size_t inlen,
*p++ = xdig[c >> 4];
*p++ = xdig[c & 0xf];
}
+ *p = 0;
}
/* Ref. http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html

Return to:

Send suggestions and report system problems to the System administrator.