Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bc99bcd authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by android-build-merger
Browse files

Merge "Fix uninitialized pointer dereference when loading default radio...

Merge "Fix uninitialized pointer dereference when loading default radio module." am: 94388e4b am: e5bad5f8
am: 2ab6368f

Change-Id: I660ebdec3573621c7f51050d5483b5f8bafc092f
parents 3bcc22b1 2ab6368f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -84,10 +84,11 @@ void RadioService::onFirstRef()
    radio_properties_t properties;
    properties.handle =
            (radio_handle_t)android_atomic_inc(&mNextUniqueId);
    convertProperties(&properties, &halProperties);

    ALOGI("loaded default module %s, handle %d", properties.product, properties.handle);
    ALOGI("loaded default module %s, ver %s, handle %d", properties.product,
        properties.version, properties.handle);

    convertProperties(&properties, &halProperties);
    sp<Module> module = new Module(dev, properties);
    mModules.add(properties.handle, module);
}