Merge lp:~phablet-team/ofono/lp-1260388 into lp:~phablet-team/ofono/ubuntu
Proposed by
Tony Espy
Status: | Merged |
---|---|
Merged at revision: | 6847 |
Proposed branch: | lp:~phablet-team/ofono/lp-1260388 |
Merge into: | lp:~phablet-team/ofono/ubuntu |
Diff against target: |
36 lines (+9/-3) 2 files modified
debian/changelog (+7/-0) drivers/rilmodem/sms.c (+2/-3) |
To merge this branch: | bzr merge lp:~phablet-team/ofono/lp-1260388 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ricardo Salveti (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+198845@code.launchpad.net |
Commit message
rilmodem/sms: Don't parse SMS error reply (LP: #1260388)
Description of the change
This fixes a crash when an error reply is received from rild for a SMS request. In this case, the returned message is zero-length, but the code attempts to parse it anyways, resulting in a crash in parcel.
Tested on maguro r62 by sending a couple text messages abd verifying no crashes occurred.
To post a comment you must log in.
PASSED: Continuous integration, rev:6847 jenkins. qa.ubuntu. com/job/ phablet- team-ofono- ubuntu- ci/16/ jenkins. qa.ubuntu. com/job/ phablet- team-ofono- ubuntu- trusty- amd64-ci/ 9 jenkins. qa.ubuntu. com/job/ phablet- team-ofono- ubuntu- trusty- armhf-ci/ 9 jenkins. qa.ubuntu. com/job/ phablet- team-ofono- ubuntu- trusty- armhf-ci/ 9/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ phablet- team-ofono- ubuntu- trusty- i386-ci/ 9
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/phablet- team-ofono- ubuntu- ci/16/rebuild
http://