Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142363448
D46008.id141058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
428 B
Referenced Files
None
Subscribers
None
D46008.id141058.diff
View Options
diff --git a/lib/lib80211/lib80211_regdomain.c b/lib/lib80211/lib80211_regdomain.c
--- a/lib/lib80211/lib80211_regdomain.c
+++ b/lib/lib80211/lib80211_regdomain.c
@@ -441,7 +441,7 @@
XML_ParserFree(mt->parser);
/* setup the identifer table */
- rdp->ident = calloc(sizeof(struct ident), mt->nident + 1);
+ rdp->ident = calloc(mt->nident + 1, sizeof(struct ident));
if (rdp->ident == NULL)
return ENOMEM;
free(mt);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 2:46 AM (9 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27730299
Default Alt Text
D46008.id141058.diff (428 B)
Attached To
Mode
D46008: lib80211: Consistently use item count as the first argument to calloc
Attached
Detach File
Event Timeline
Log In to Comment