NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/49567: Missing break in functon dwarf_attrval_signed
>Number: 49567
>Category: bin
>Synopsis: Missing break in functon dwarf_attrval_signed
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 14 09:05:00 +0000 2015
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Missing break in function dwarf_attrval_signed .
Taken from Freebsd .
>How-To-Repeat:
>Fix:
diff -u -p -r1.2 dwarf_attrval.c
--- external/bsd/elftoolchain/dist/libdwarf/dwarf_attrval.c 9 Mar 2014 16:58:03 -0000 1.2
+++ external/bsd/elftoolchain/dist/libdwarf/dwarf_attrval.c 14 Jan 2015 07:37:48 -0000
@@ -128,6 +128,7 @@ dwarf_attrval_signed(Dwarf_Die die, Dwar
break;
case DW_FORM_data4:
*valp = (int32_t) at->u[0].s64;
+ break;
case DW_FORM_data8:
case DW_FORM_sdata:
*valp = at->u[0].s64;
Home |
Main Index |
Thread Index |
Old Index