[hipl-dev] [Bug 790679] Re: Minor segfault on failed startup

  • From: Jookos <790679@xxxxxxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Fri, 03 Jun 2011 10:56:38 -0000

Oops, missed the initialization of that struct. Although it stopped
crashing, it must have been sending its messages to pretty strange
places..

And I'm sure your fix works just fine, thanks.

-- 
You received this bug notification because you are a member of HIPL core
team, which is subscribed to HIPL.
https://bugs.launchpad.net/bugs/790679

Title:
  Minor segfault on failed startup

Status in Host Identity Protocol for Linux:
  New

Bug description:
  If the kernel module checks during startup fails, hipd segfaults
  instead of exiting nicely. This because the hip_xfrmapi_nl_ipsec
  (lib/tool/xfrmapi.c:49) hasn't been initialized before it is used in
  hip_delete_hit_sp_pair() [which is called on exit].

  quick & dirty patch attached

Other related posts: