b9288bf1d0
PR: ports/172209 Submitted by: Miklos Magyari <magyarimiki@gmail.com> Approved by: maintainer timeout (1 year)
11 lines
267 B
C
11 lines
267 B
C
--- bfd/bfdio.c.orig
|
|
+++ bfd/bfdio.c
|
|
@@ -577,7 +577,7 @@
|
|
{
|
|
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;
|
|
|
|
return 0;
|