On January 9, 2015 4:17:09 PM Thiago Macieira <[email protected]> wrote:

On Friday 09 January 2015 07:52:01 Dirk Hohndel wrote:
> new throws the crash, so that makes me think that there are more out of
> bounds errors here I’d suggest running this under Valgrind.
>
> I fixed quite a few array access errors in the code, most likely I missed
> one or two.

For new to throw, it usually means the size argument is silly (negative,
hundreds of gigabytes, etc.).

In this case size of -1 was all it took.
Fixed in master.


/D





_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to