fraunhoferfokus / cordova-plugin-hbbtv

This Cordova HbbTV plugin implements the HbbTV 2.0 CS APIs for discovering HbbTV Terminals, launching HbbTV Applications on discovered Terminals and open App2App communication channels between the Cordova App (Companion App) and the launched HbbTV App using WebSockets
GNU Lesser General Public License v3.0
9 stars 5 forks source link

HbbTV: Fix null ptr deref of statusCode in launchHbbTVApp failure path. #2

Closed JonathanRennison closed 8 years ago

JonathanRennison commented 8 years ago

The code checks that statusCode is not null in the onLaunchApp callback, but still tries to dereference it in the failure path. If it's null use the value 500 instead.

louaybassbouss commented 8 years ago

Thx @JonathanRennison for the fix