Page MenuHomeFreeBSD

D46007.diff
No OneTemporary

D46007.diff

diff --git a/contrib/elftoolchain/libdwarf/libdwarf_init.c b/contrib/elftoolchain/libdwarf/libdwarf_init.c
--- a/contrib/elftoolchain/libdwarf/libdwarf_init.c
+++ b/contrib/elftoolchain/libdwarf/libdwarf_init.c
@@ -302,7 +302,7 @@
{
Dwarf_Debug dbg;
- if ((dbg = calloc(sizeof(struct _Dwarf_Debug), 1)) == NULL) {
+ if ((dbg = calloc(1, sizeof(struct _Dwarf_Debug))) == NULL) {
DWARF_SET_ERROR(dbg, error, DW_DLE_MEMORY);
return (DW_DLE_MEMORY);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 6:35 AM (11 h, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14506185
Default Alt Text
D46007.diff (462 B)

Event Timeline