SHA256
3
0
forked from pool/elfutils
elfutils/elfutils-uninitialized.diff

18 lines
493 B
Diff
Raw Normal View History

---
libdwfl/linux-kernel-modules.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/libdwfl/linux-kernel-modules.c
+++ b/libdwfl/linux-kernel-modules.c
@@ -608,8 +608,8 @@ check_module_notes (Dwfl_Module *mod)
int
dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
{
- Dwarf_Addr start;
- Dwarf_Addr end;
+ Dwarf_Addr start = 0;
+ Dwarf_Addr end = 0;
inline Dwfl_Module *report (void)
{
return INTUSE(dwfl_report_module) (dwfl, KERNEL_MODNAME, start, end);