commit | c1ccb0d9854cea4b2cd09bbd57fc1e1081eb96b9 | [log] [tgz] |
---|---|---|
author | Maggie_Lee <Maggie_Lee@asus.com> | Tue Sep 23 17:17:02 2014 -0700 |
committer | Chris Elliott <chriselliott@google.com> | Wed Sep 24 00:24:45 2014 +0000 |
tree | 72953311de648bdc992e7acb34ebfca56c8c4ca6 | |
parent | e68188f83efc681a9a085359a473a2dab3bb94f1 [diff] |
anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer b/17623865 Getbuff is checking for the pool which can accommodate requested size, but it changing the pool with a restricted check and not checking for the free memory size in that pool. Added a check to avoid return the wrong pool free buf pointer and avoid gki get_buffer overflow. Change-Id: I142870c989fc37f49c2d9b411d5eddbfba59bd9d