]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ensure we don't end up with a partially initialised EA structure
authorAndrew Tridgell <tridge@samba.org>
Fri, 6 Jun 2008 17:53:00 +0000 (10:53 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 6 Jun 2008 17:53:00 +0000 (10:53 -0700)
source/libcli/raw/raweas.c

index 07b517ade3f24bec4fdfc8622bc13a9b0e6dbac0..6317c49fd764cb92c6109fdc53e81f1adf17e0bf 100644 (file)
@@ -131,6 +131,8 @@ uint_t ea_pull_struct(const DATA_BLOB *blob,
        uint8_t nlen;
        uint16_t vlen;
 
+       ZERO_STRUCTP(ea);
+
        if (blob->length < 6) {
                return 0;
        }