AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
5 stars 4 forks source link

Fix issue where bad registration info leads to NULL dereference crash #355

Closed Allan-N closed 1 month ago

Allan-N commented 1 month ago

When you start off with a "rpt_http_registrations.conf" containing an error and attempt to register then you may get back an unexpected response. If you don't check for the unexpected then you can end up with a crash. This change adds a missing check for the unexpected (lack of "data").