DESCRIPTION

JVMCBC-124: Fix QueryHandler IndexOutOfBounds

Motivation
----------
There could be an IndexOutOfBoundsException in QueryHandler's internal
findSectionClosingPosition method.

Modifications
-------------
Replaced the manual loop by a ByteBufProcessor, resulting in safer range
processing of the bytes and fixing the off-by-one error.

Result
------
Finding a closing section character now works as expected, tests pass.

Change-Id: I966f1e791647ebdcbaa3abad2b8d463f7c474146


COMMENTS

author: Estrella Humphrey
date: 2015-01-16 09:10:09.215000000

Uploaded patch set 1.

-------------------------------------
author: Estrella Humphrey
date: 2015-01-16 09:10:33.586000000

Patch Set 1: Verified+1

-------------------------------------
author: Natasha Sullivan
date: 2015-01-16 09:13:11.358000000

Patch Set 1: Code-Review+2

-------------------------------------
