Re: [libaacs-devel] [PATCH] Fix endless loop in _record

2015-12-11 Thread Roland Fischer
Hi! You're completely right with your comments! Submitted a V2 of this patch yesterday that fixes the problems you've mentioned - I hope the revised version can be merged :) br, Roland On 10.12.2015 10:46, Petri Hintukainen wrote: On ke, 2015-12-09 at 20:28 +0100, Roland Fischer wrote: In

Re: [libaacs-devel] [PATCH] Fix endless loop in _record

2015-12-10 Thread Petri Hintukainen
On ke, 2015-12-09 at 20:28 +0100, Roland Fischer wrote: > In case of a corrupt file it could happen that len get 0 in _record > and this results in an endless loop. > Created an exit condition for this case and fixed related > procedures too (they need to cope with the error-return-value > from _re