Menu

#2281 SIGSEGV sometimes does not print provider name

Stability
pending-fixed
sfcb (1090)
5
2011-09-30
2011-09-30
No

When a provider crashes due to a SIGSEGV, the resulting log message sometimes shows garbage instead of the provider name.

The global providerName points to info->providerName but the corresponding provider info might not be available causing providerName pointing into the void.

Fix: strdup() the providerName
(no need to free() since providerName stays valid during the provider lifetime)

Discussion

  • Klaus Kämpf

    Klaus Kämpf - 2011-09-30

    strdup() providerName

     
  • Chris Buccella

    Chris Buccella - 2011-09-30
    • status: open --> pending-fixed
     
  • Chris Buccella

    Chris Buccella - 2011-09-30

    committed to CVS HEAD and git master

     

Log in to post a comment.