Increase the size of the progress bar buffer.

This commit is contained in:
Andrew Wood
2024-12-13 20:55:39 +00:00
parent 7a0ee9c7fa
commit 29c7a21725
+2 -2
View File
@@ -292,7 +292,7 @@ static size_t pv_formatter_progress_unknownsize(pvformatter_args_t args, char *b
*/
size_t pv_formatter_progress(pvformatter_args_t args)
{
char content[1024]; /* flawfinder: ignore - always bounded */
char content[4096]; /* flawfinder: ignore - always bounded */
size_t bytes;
content[0] = '\0';
@@ -322,7 +322,7 @@ size_t pv_formatter_progress(pvformatter_args_t args)
*/
size_t pv_formatter_progress_bar_only(pvformatter_args_t args)
{
char content[1024]; /* flawfinder: ignore - always bounded */
char content[4096]; /* flawfinder: ignore - always bounded */
size_t bytes;
content[0] = '\0';