mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Check for bounds check error
This commit is contained in:
@@ -259,6 +259,9 @@ bool try_cached_build(Checker *c) {
|
|||||||
timestamp_str = string_trim_whitespace(timestamp_str);
|
timestamp_str = string_trim_whitespace(timestamp_str);
|
||||||
path_str = string_trim_whitespace(path_str);
|
path_str = string_trim_whitespace(path_str);
|
||||||
|
|
||||||
|
if (file_count >= files.count) {
|
||||||
|
goto do_write_file;
|
||||||
|
}
|
||||||
if (files[file_count] != path_str) {
|
if (files[file_count] != path_str) {
|
||||||
goto do_write_file;
|
goto do_write_file;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user