projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cce638
)
libril: initialise RIL_CallForwardInfo to 0 when requesting status
author
Danny Wood
<danwood76@gmail.com>
Fri, 10 Sep 2021 14:15:05 +0000
(15:15 +0100)
committer
Danny Wood
<danwood76@gmail.com>
Fri, 10 Sep 2021 14:47:46 +0000
(15:47 +0100)
Some devices have extra pointers in this structure that if non-zero
causes libsec-ril.so to segfault
Change-Id: I9fd07a4747ef0fb1388ebbec472f2dda8dea4003
ril/libril/ril_service.cpp
patch
|
blob
|
blame
|
history
diff --git
a/ril/libril/ril_service.cpp
b/ril/libril/ril_service.cpp
index ad24bf3c4c3cb292af44923a7cc587f678499aee..0e7ebde272ebd15d94def35a5f2cfe3802f87817 100644
(file)
--- a/
ril/libril/ril_service.cpp
+++ b/
ril/libril/ril_service.cpp
@@
-679,7
+679,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;