Skip to content

Commit

Permalink
fix buffer overflow found by fuzzer by making the move_vec bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
panstromek committed Feb 20, 2022
1 parent f80f866 commit 75d7d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra.c
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ play_game( const char *file_name,
int col, row;
int thor_position_count;
int provided_move[61];
char move_vec[121];
char move_vec[123];
char line_buffer[1000];
time_t timer;
FILE *log_file;
Expand Down

0 comments on commit 75d7d42

Please sign in to comment.