Hi;
clang catched this. Please apply.
P.S: Please CC me on your replies, I am not subscribed to the list.
Regards.
--
İsmail Dönmez - openSUSE Booster
SUSE LINUX Products GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Index: crash-6.0.0/gdb-7.3.1.patch
===================================================================
--- crash-6.0.0.orig/gdb-7.3.1.patch
+++ crash-6.0.0/gdb-7.3.1.patch
@@ -1263,3 +1263,14 @@
struct tdefs {
char *symbol;
+--- gdb-7.3.1/bfd/bfdio.c
++++ gdb-7.3.1/bfd/bfdio.c
+@@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *st
+ {
+ struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream;
+
+- memset (statbuf, 0, sizeof (statbuf));
++ memset (statbuf, 0, sizeof (struct stat));
+ statbuf->st_size = bim->size;
+
+ return 0;
--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility