summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-20 00:58:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:17 +0200
commit9e0c634d885a4dc3880f1b15f93b82837872c59b (patch)
tree9bb8edef067eb8147404ce2c56c9679b16c2ff6f /onlineupdate
parent2872098f75b348c33deba2be3665317b76ce69a9 (diff)
fix unitialized memory
Change-Id: I743df0c568984a1effef34be5a3190a10647e092
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/libmar/sign/mar_sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/onlineupdate/source/libmar/sign/mar_sign.c b/onlineupdate/source/libmar/sign/mar_sign.c
index ecca5f25f9a6..161cadc0d2c7 100644
--- a/onlineupdate/source/libmar/sign/mar_sign.c
+++ b/onlineupdate/source/libmar/sign/mar_sign.c
@@ -491,7 +491,7 @@ extract_signature(const char *src, uint32_t sigIndex, const char * dest)
FILE *fpSrc = NULL, *fpDest = NULL;
uint32_t i;
uint32_t signatureCount;
- uint32_t signatureLen;
+ uint32_t signatureLen = 0;
uint8_t *extractedSignature = NULL;
char *base64Encoded = NULL;
int rv = -1;