Jef Driesen 2487167778 Don't exceed the maximum number of bytes.
We received data from a device where the end-of-profile marker is
missing. Because the device fails to locate the last dive, it goes into
an infinite loop, and keeps sending the same sequence of dives over and
over again. As a result, we receive more data than expected, and the
assert in the progress event is triggered.

We now keep track of the maximum number of bytes remaining and abort
once the limit is passed. The values of the progress events are capped
at the maximum value to avoid the assertion.
2012-09-20 23:17:17 +02:00
..
2011-03-12 10:31:32 +01:00
2009-12-02 13:55:50 +00:00
2010-02-15 13:16:26 +00:00
2010-02-15 13:16:26 +00:00
2011-11-11 10:42:39 +01:00
2009-01-06 13:07:22 +00:00
2011-10-10 21:24:07 +02:00
2012-06-21 21:59:07 +02:00
2008-10-05 20:14:18 +00:00
2009-10-15 09:14:33 +00:00
2009-11-05 12:36:28 +00:00
2009-08-06 14:15:52 +00:00
2012-04-05 20:21:23 +02:00
2008-10-05 20:14:18 +00:00
2012-06-19 21:27:46 +02:00
2010-08-28 22:53:48 +02:00