Displaying 1 result from an estimated 1 matches for "tfmalloc".
Did you mean:
t_malloc
2005 Mar 16
0
tftpd remap rules
...err = 0;
+ memset(this_rule, '\0', sizeof(struct rule));
while ( lineno++, fgets(line, MAXLINE, f) ) {
rv = parseline(line, this_rule, lineno);
if ( rv < 0 )
@@ -283,6 +284,7 @@
*last_rule = this_rule;
last_rule = &this_rule->next;
this_rule = tfmalloc(sizeof(struct rule));
+ memset(this_rule, '\0', sizeof(struct rule));
}
}
--
Peter