commit | 484dc303627eb82e7c5edf4f03e542fec2d3f4ea | [log] [tgz] |
---|---|---|
author | Ian Coolidge <icoolidge@google.com> | Wed May 20 19:59:10 2015 -0700 |
committer | Ian Coolidge <icoolidge@google.com> | Wed May 27 18:44:13 2015 -0700 |
tree | 039a0c63a165bace9420a406840bda76cf54a61e | |
parent | bb6836b8e3145522c119e9478d5c7e7df75c3890 [diff] |
Fix use-after-free while setting advertisement data. Producer context was freeing data buffers without performing a deep copy on the passed structure. Also added some const correctness so we can reason about the state of btif_adv_data_t as its data gets associated with the advertising instance. Bug: 21343750 Change-Id: Ifea0209e8426b61d8456c299c836ba640bd30f31