Bash-4.3 patch 9
This commit is contained in:
2
parse.y
2
parse.y
@@ -2424,7 +2424,7 @@ shell_getc (remove_quoted_newline)
|
|||||||
not already end in an EOF character. */
|
not already end in an EOF character. */
|
||||||
if (shell_input_line_terminator != EOF)
|
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,
|
shell_input_line = (char *)xrealloc (shell_input_line,
|
||||||
1 + (shell_input_line_size += 2));
|
1 + (shell_input_line_size += 2));
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,6 @@
|
|||||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||||
looks for to find the patch level (for the sccs version string). */
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
#define PATCHLEVEL 8
|
#define PATCHLEVEL 9
|
||||||
|
|
||||||
#endif /* _PATCHLEVEL_H_ */
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
|||||||
2
y.tab.c
2
y.tab.c
@@ -4736,7 +4736,7 @@ shell_getc (remove_quoted_newline)
|
|||||||
not already end in an EOF character. */
|
not already end in an EOF character. */
|
||||||
if (shell_input_line_terminator != EOF)
|
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,
|
shell_input_line = (char *)xrealloc (shell_input_line,
|
||||||
1 + (shell_input_line_size += 2));
|
1 + (shell_input_line_size += 2));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user