Make buffers larger to stop compiler complaining
authorCharles Manning <cdhmanning@gmail.com>
Fri, 15 May 2020 01:44:10 +0000 (13:44 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Fri, 15 May 2020 01:44:10 +0000 (13:44 +1200)
The buffers were not overflowing, but the check was complaining.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/test-framework/basic-tests/dtest.c

index 8d1b9910e9c1febe382c3ee06c6491871b741651..1a98bcb18d17ced144f73d389893af8bb05e0f7d 100644 (file)
@@ -519,7 +519,7 @@ void dumpDirFollow(const char *dname)
        yaffs_DIR *d;
        struct yaffs_dirent *de;
        struct yaffs_stat s;
        yaffs_DIR *d;
        struct yaffs_dirent *de;
        struct yaffs_stat s;
-       char str[100];
+       char str[300];
 
        d = yaffs_opendir(dname);
 
 
        d = yaffs_opendir(dname);
 
@@ -970,7 +970,7 @@ int huge_directory_test_on_path(char *path)
        int total = 0;
        int lastTotal = 0;
 
        int total = 0;
        int lastTotal = 0;
 
-       char str[100];
+       char str[300];
 
 
        yaffs_start_up();
 
 
        yaffs_start_up();