Skip to content

broadband-modem-mbim: fix potential dereference of null GByteArray

Ben Chan requested to merge benchan/ModemManager:null-deref into master

ussd_decode() expects a non-null GByteArray while process_ussd_message() could potentially passes a null GByteArray to ussd_decode(). This patch fixes the issue by having process_ussd_message() always creates a GByteArray.

Merge request reports

Loading