mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 14:40:50 +02:00
size_t changes for multibyte characters; fix for running debug trap in asynchronous pipeline; remove support for precomputed cache files for cross-compiling; more size_t and ssize_t changes to avoid overflow
This commit is contained in:
+1
-1
@@ -818,7 +818,7 @@ out_html(char *c)
|
||||
} else if (output_possible) {
|
||||
while (*c) {
|
||||
outbuffer[obp++] = *c;
|
||||
if (*c == '\n' || obp > HUGE_STR_MAX) {
|
||||
if (*c == '\n' || obp >= HUGE_STR_MAX) {
|
||||
outbuffer[obp] = '\0';
|
||||
add_links(outbuffer);
|
||||
obp = 0;
|
||||
|
||||
Reference in New Issue
Block a user