alfg / alfg/mp4-rust

read_null_terminated_utf8_string does not check box bounds

オープン
#157 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
355
フォーク
105
PR マージ指標
30日以内にマージされた PR はありません

説明

It is possible for a bad source file to read beyond the end of the box returning a bogus string. This will cause error downstream in areas such as in Emsg reader:

let message_size = size - Self::size_without_message(version, &scheme_id_uri, &value);
let mut message_data = Vec::with_capacity(message_size as usize);
reader.read_exact(&mut message_data)?;

The message will not be able to read correctly.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。