Move 16 bytes from data to r/o text segment
authorVolker Lendecke <vl@samba.org>
Fri, 24 Jul 2009 23:47:39 +0000 (19:47 -0400)
committerVolker Lendecke <vl@samba.org>
Sat, 25 Jul 2009 16:59:20 +0000 (12:59 -0400)
source3/smbd/smb2_signing.c

index 55ed4f6d1c306fee8b03d3c945bddada43170324..e584dd91ca6c2087682efbb64a3eece97a021acc 100644 (file)
@@ -85,7 +85,7 @@ NTSTATUS smb2_signing_check_pdu(DATA_BLOB session_key,
        uint64_t session_id;
        struct HMACSHA256Context m;
        uint8_t res[SHA256_DIGEST_LENGTH];
-       static const uint8_t zero_sig[16];
+       static const uint8_t zero_sig[16] = { 0, };
        int i;
 
        if (count < 2) {