Re: dvdauthor.exe error (_cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION)
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
On 27/04/10 22:17, Vladimir Skuzovatkin wrote: > So in my opinion the procedure of creation/initialization the > "vm_statement" structures is not corrected. Thanks for such a detailed analysis. :) Note that there are limitations laid down in the DVD-Video spec on how many of these sorts of objects you’re allowed to have: no more than 99 each of titlesets, and menus and titles in a titleset, numbered from 1. That’s why the code assumes each number will fit in 7 bits, and uses the remaining bits for other purposes. The bug really is in not checking that the number specified by the user is in the valid range. > We have "ws->titles->pgcs[128 - 128 - 1]" (i2 for this file is > equal to 128!!!) when will be processed file with number 127. - > So we have the error. I have added some extra validation to the VM language parsing code so it will flag the error immediately as “title number out of range”, instead of crashing. Please try the latest code from my Git repository and see how it goes. ------------------------------------------------------------------------------ _______________________________________________ Dvdauthor-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvdauthor-users