mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Return proper analyzer error codes on mm_io exceptions
Otherwise the exception might bubble to the top causing the program to abort. Fix for bug 710.
This commit is contained in:
parent
e8ae268284
commit
4bdc545839
@ -1,3 +1,10 @@
|
||||
2012-01-27 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvpropedit, mmg: bug fix: Trying to modify a file located in a
|
||||
path mounted with GVFS SFTP will no longer crash the
|
||||
programs. Instead an error message is output if an error
|
||||
occurs. Fix for bug 710.
|
||||
|
||||
2012-01-25 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: Fixed integer underflows in the read caching
|
||||
|
@ -344,6 +344,10 @@ kax_analyzer_c::update_element(EbmlElement *e,
|
||||
} catch (kax_analyzer_c::update_element_result_e result) {
|
||||
debug_dump_elements_maybe("update_element_exception");
|
||||
return result;
|
||||
|
||||
} catch (mtx::mm_io::exception &ex) {
|
||||
mxdebug_if(m_debugging_requested, boost::format("I/O exception: %1%\n") % ex.what());
|
||||
return uer_error_unknown;
|
||||
}
|
||||
|
||||
return uer_success;
|
||||
|
Loading…
Reference in New Issue
Block a user