commit | 1c71cb3e728c5f7b3bc76daf581e108ed5c0fa3c | [log] [tgz] |
---|---|---|
author | Paul Jensen <pauljensen@google.com> | Fri Mar 25 11:39:58 2016 -0400 |
committer | Paul Jensen <pauljensen@google.com> | Tue Mar 29 12:03:34 2016 -0400 |
tree | 14ec0c953442011b408d170a2f1f89842da2d2aa | |
parent | a2b88f633980422b672a225c6aa96019547f5676 [diff] |
Fix potential ApfFilter bugs by careful ByteBuffer use Avoid adjusting ApfFilter.Ra.mPacket's postion() and limit() in matches(). This avoids potential bugs in other parts of the code that previously relied on limit() being reset. Also for good measure change some limit() calls to capacity() as it's more final. Change-Id: I466e87ce6838f68654b24f2c9543a6cd547d3f87