Page MenuHomeFreeBSD

D46006.id141147.diff
No OneTemporary

D46006.id141147.diff

diff --git a/lib/libgeom/geom_xml2tree.c b/lib/libgeom/geom_xml2tree.c
--- a/lib/libgeom/geom_xml2tree.c
+++ b/lib/libgeom/geom_xml2tree.c
@@ -407,7 +407,7 @@
free(mt);
return (error);
}
- gmp->lg_ident = calloc(sizeof *gmp->lg_ident, mt->nident + 1);
+ gmp->lg_ident = calloc(mt->nident + 1, sizeof(*gmp->lg_ident));
free(mt);
if (gmp->lg_ident == NULL)
return (ENOMEM);

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 6:50 AM (11 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14506203
Default Alt Text
D46006.id141147.diff (388 B)

Event Timeline