I need a code review for this bug: 6713844 inetd core dump bugs with incorrect 
xml file

It did turn out to be a double free bug.  My webrev is here:

http://cr.opensolaris.org/~jgmills/ws-6713844/

Without the fix, inetd would log one error message and then dump core.
When it restarted, it did that repeatedly.  The message looked like:

Sep  9 11:39:21 ati inetd[100926]: [ID 702911 daemon.error] Property 
'connection_backlog' of instance 
svc:/network/rpc-100235_1/rpc_ticotsord:default is missing, inconsistent or 
invalid

With the fix, it logs two messages for each service that had a problem, but 
keeps
on going.  The messages looked like this:

Sep 10 21:35:54 ati inetd[101329]: [ID 702911 daemon.error] Property 
'connection_backlog' of instance svc:/network/rpc/gss:default is missing, 
inconsistent or invalid
Sep 10 21:35:54 ati inetd[101329]: [ID 702911 daemon.error] Invalid 
configuration for instance svc:/network/rpc/gss:default, placing in maintenance
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to