System/Libraries/Html/Renderer: Increase status_text_buffer size to avoid stack clobbering
This commit is contained in:
parent
fcf20be66e
commit
b8047330bc
1 changed files with 3 additions and 3 deletions
|
@ -1954,7 +1954,7 @@ U0 @process_css_rules_from_external_stylesheet(HtmlRenderer* renderer, U8* str)
|
||||||
// download (or load from cache) and process stylesheet
|
// download (or load from cache) and process stylesheet
|
||||||
if (!renderer || !str)
|
if (!renderer || !str)
|
||||||
return;
|
return;
|
||||||
U8 status_text_buffer[128];
|
U8 status_text_buffer[HTML_WORK_BUFFER_SIZE];
|
||||||
U8 buf[HTML_WORK_BUFFER_SIZE];
|
U8 buf[HTML_WORK_BUFFER_SIZE];
|
||||||
HttpUrl* url = @expand_url_from_string(renderer->task, renderer->current_url, str);
|
HttpUrl* url = @expand_url_from_string(renderer->task, renderer->current_url, str);
|
||||||
if (!url)
|
if (!url)
|
||||||
|
@ -2062,7 +2062,7 @@ Context2D* @favicon_for_page(HtmlRenderer* renderer)
|
||||||
if (!renderer)
|
if (!renderer)
|
||||||
return DEFAULT_FAVICON;
|
return DEFAULT_FAVICON;
|
||||||
|
|
||||||
U8 status_text_buffer[128];
|
U8 status_text_buffer[HTML_WORK_BUFFER_SIZE];
|
||||||
U8 buf[HTML_WORK_BUFFER_SIZE];
|
U8 buf[HTML_WORK_BUFFER_SIZE];
|
||||||
HttpUrl* url;
|
HttpUrl* url;
|
||||||
Context2DWidget* widget;
|
Context2DWidget* widget;
|
||||||
|
@ -2174,7 +2174,7 @@ U0 @fetch_images_for_page(HtmlRenderer* renderer)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
U8 status_text_buffer[128];
|
U8 status_text_buffer[HTML_WORK_BUFFER_SIZE];
|
||||||
U8 buf[HTML_WORK_BUFFER_SIZE];
|
U8 buf[HTML_WORK_BUFFER_SIZE];
|
||||||
HttpUrl* url;
|
HttpUrl* url;
|
||||||
Context2DWidget* widget;
|
Context2DWidget* widget;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue