commit | 2834f00b94082497dadde73ac37dd531455dc636 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Mon Sep 27 11:48:15 2021 +0900 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Sep 27 04:31:13 2021 +0000 |
tree | 241154dfea3d6d5392782097d1c4ed9c499e15e1 | |
parent | 223274e37f27d541858a9b72235e6e5f7e62e1da [diff] |
Fix use-after-free on annotation parse error There's a mistake in 442cacfc96f69adce7b55bd28cf07a75fbcb4b65 and 55db811ed457f4e5df791a0c9e3ea545b81b687f. It missed to set $$ when AidlAnnotation::Parse fails. When $$ is not set, it points to the first component of the rule ($1) which is deleted. Bug: 201125993, 201125843 Test: aidl_unittests Change-Id: Ib5e78b3fcfb4972d31c05065ef5c946a24a8e77c
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview