libseccomp: memset of &addr instead of addr leads to segfault
libseccomp: memset of &addr instead of addr leads to segfault

We wanted to initialize the memory pointed to by bpf.prog, but were
instead initializing the memory at bpf+offsetof(prog).  This lead to a
segfault as previously set values were corrupted.

Signed-off-by: Eric Paris <b0b36e3cd9ea4e5739ff430a3056fabf2fdb0376@redhat.com>
Signed-off-by: Paul Moore <88a1d58bf22a647dce58dd91f9595600dceabba9@redhat.com>

seccomp/libseccomp,seccomp/libseccomp,amluto/libseccomp,amluto/libseccomp,amluto/libseccomp,seccomp/libseccomp