Description of problem:
running "lokkit -p 53" core dumps; it should be able to take
numeric port. Problem found and fixed. Please incorporate
into source code.
Version-Release number of selected component (if applicable):
always, on i386 platform.
Steps to Reproduce:
1. as root, run "lokkit -p 53"
take additional port into Customier/Other Ports.
how to fix:
1. line 239:
struct servent *service;
char *ret = NULL;
struct servent *service = NULL;
always good to init pointers to NULL.
2. line 249
ret = calloc((orig ? strlen(orig) : 0) + strlen(ret) + 2, sizeof(char));
ret = calloc((orig ? strlen(orig) : 0) + strlen(tmp) + 2, sizeof(char));
the core dump occurs at strlen(ret) as ret was not
*** This bug has been marked as a duplicate of 117183 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.