Quick Code review request for :
Bug 16192 - auto-install core dumped when creating invalid size swap or dump
  http://defect.opensolaris.org/bz/show_bug.cgi?id=16192

Webrev :
  http://cr.opensolaris.org/~mattman/bug-16192/


Whilst auto-install does core, it does not have any adverse affect on the install as the install is in the process of failing/quitting either way.

Problem occurs because nvlist_free() is being called on an nvlist variable that was never allocated.

Solution is to assign NULL to nvlist variable prior to possible allocation. If it gets allocated it will be non-null and thus can be freed.

cheers

Matt
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to