[PUSHED-3-6] fix for fdo#55022, crash when opening the test file in ScDBQueryDataIterator

Michael Meeks michael.meeks at suse.com
Fri Sep 28 02:00:19 PDT 2012


On Thu, 2012-09-27 at 23:44 +0200, Markus Mohrhard wrote:
> No this one results in a infinite loop because the check nColRow <
> nCellCount in the next if will be always true when it was not before.
> My patch still increments so that the check there is false and we stop
> iterating through the DB range.

	Clearly I should wake up more ;-)

	OTOH, having APIs that make such off-by-one behaviour easy to write
looks like a problem in itself ;-)

	Thanks !

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list