Page MenuHomeFreeBSD

D46009.diff
No OneTemporary

D46009.diff

diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -592,7 +592,7 @@
while (argc--)
gnu_check(*argv++);
argc = 0;
- argv = calloc(sizeof(char *), numrecs + 1);
+ argv = calloc(numrecs + 1, sizeof(char *));
for (rec = head; rec != NULL; rec = rec->next) {
argv[argc] = rec->filename;
argc++;

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 6:34 AM (11 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14506180
Default Alt Text
D46009.diff (353 B)

Event Timeline