We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lookahead() の実装で pos とすべき箇所が m_pos になっています。
lookahead()
pos
m_pos
OpenSiv3D/Siv3D/src/Siv3D/MemoryReader/SivMemoryReader.cpp
Line 119 in 9c77228
OpenSiv3D/Siv3D/src/Siv3D/MemoryViewReader/SivMemoryViewReader.cpp
Line 116 in 9c77228
read() と lookahead() の実装で引数 pos が範囲内かどうかがチェックされておらず、範囲外の領域を読み込む可能性があります。
read()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
指定した位置から読み込まれない
lookahead()
の実装でpos
とすべき箇所がm_pos
になっています。OpenSiv3D/Siv3D/src/Siv3D/MemoryReader/SivMemoryReader.cpp
Line 119 in 9c77228
OpenSiv3D/Siv3D/src/Siv3D/MemoryViewReader/SivMemoryViewReader.cpp
Line 116 in 9c77228
バッファオーバーフローの危険
read()
とlookahead()
の実装で引数pos
が範囲内かどうかがチェックされておらず、範囲外の領域を読み込む可能性があります。The text was updated successfully, but these errors were encountered: