diff options
author | Chet Ramey <chet.ramey@case.edu> | 2014-04-11 11:04:26 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2014-04-11 11:04:26 -0400 |
commit | 6ebbb24a5cc6e798e3c8f75e8617908b93a37d65 (patch) | |
tree | f674cd3bdab43af6a84d20842ab1f41bf30a71f9 /y.tab.c | |
parent | 7137b2df58b6506ccae6efa9a13be467e87efc4f (diff) | |
download | bash-6ebbb24a5cc6e798e3c8f75e8617908b93a37d65.tar.gz |
Bash-4.3 patch 9
Diffstat (limited to 'y.tab.c')
-rw-r--r-- | y.tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4736,7 +4736,7 @@ shell_getc (remove_quoted_newline) not already end in an EOF character. */ if (shell_input_line_terminator != EOF) { - if (shell_input_line_size < SIZE_MAX && shell_input_line_len > shell_input_line_size - 3) + if (shell_input_line_size < SIZE_MAX-3 && (shell_input_line_len+3 > shell_input_line_size)) shell_input_line = (char *)xrealloc (shell_input_line, 1 + (shell_input_line_size += 2)); |