Too big buffer is allocated in logtab_rement()
Here in logtab_rement() there is too big buffer allocated:
233 tmpl = (struct logtab_ent_list *) 234 malloc(sizeof (struct logtab_ent));
The sizeof (struct logtab_ent_list) should be enough. Since the struct logtab_ent is bigger than struct logtab_ent_list the only side effect is that we allocate a bit bigger buffer than it is actually needed. This is usually not a big problem because the buffer is freed soon in the logtab_rement().
Thanks to Jeffry for noticing this.
No data to display