msm8974-common: libril: initialise RIL_CallForwardInfo to 0 when requesting status
Some devices have extra pointers in this structure that if non-zero causes libsec-ril.so to segfault Change-Id: I9fd07a4747ef0fb1388ebbec472f2dda8dea4003
This commit is contained in:
parent
6a2957e85e
commit
d851283fe6
2
ril/libril/ril_service.cpp
Executable file → Normal file
2
ril/libril/ril_service.cpp
Executable file → Normal file
@ -708,7 +708,7 @@ bool dispatchCallForwardStatus(int serial, int slotId, int request,
|
||||
return false;
|
||||
}
|
||||
|
||||
RIL_CallForwardInfo cf;
|
||||
RIL_CallForwardInfo cf = {};
|
||||
cf.status = (int) callInfo.status;
|
||||
cf.reason = callInfo.reason;
|
||||
cf.serviceClass = callInfo.serviceClass;
|
||||
|
Loading…
Reference in New Issue
Block a user