This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit afb6d608f0724e4d07137f2c88f1fab435f0ee67
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed May 18 13:10:04 2022 +0100
tyls - fix warnings about small buffer for snprintf
this extends the buffer to avoid any truncation - ever.
@fix
---
src/bin/tyls.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index e5fef60..ad30ad7 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -640,7 +640,7 @@ list_dir(const char *dir, Tyls_Options *options)
{
for (c = 0; c < cols; c++)
{
- char sz[6], szch = ' ';
+ char sz[32], szch = ' ';
long long size;
s = names[(c * rows) + i];
@@ -694,7 +694,7 @@ list_dir(const char *dir, Tyls_Options *options)
printf("\n");
for (c = 0; c < cols; c++)
{
- char sz[6], szch = ' ';
+ char sz[32], szch = ' ';
long long size;
int len;
@@ -790,7 +790,7 @@ flush_file(Tyls_Options *options)
{
for (c = 0; c < cols; c++)
{
- char sz[6], szch = ' ';
+ char sz[32], szch = ' ';
long long size;
s = names[(c * rows) + i];
@@ -848,7 +848,7 @@ flush_file(Tyls_Options *options)
printf("\n");
for (c = 0; c < cols; c++)
{
- char sz[6], szch = ' ';
+ char sz[32], szch = ' ';
long long size;
int len;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.