From 12f36406eb4f1457db61082ec7b0bd8dd6530814 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adam=20Engstr=C3=B6m?= <adaengst@gmail.com>
Date: Sat, 20 Dec 2014 17:58:00 +0100
Subject: [PATCH 2/4] bfdio: Invalid size of memset
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index ce92781..9d7fc6f 100644
@@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *statbuf)
struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream;
- memset (statbuf, 0, sizeof (statbuf));
+ memset (statbuf, 0, sizeof (*statbuf));
statbuf->st_size = bim->size;