[rtems commit] psximfs02/init.c: Increase size of buffer to avoid overwrite

Joel Sherrill joel at rtems.org
Fri Jul 28 19:31:20 UTC 2017


Module:    rtems
Branch:    master
Commit:    3ebbabbb9307ce1e2f2a0ccfe6cafb4242f3410e
Changeset: http://git.rtems.org/rtems/commit/?id=3ebbabbb9307ce1e2f2a0ccfe6cafb4242f3410e

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Jul 28 15:53:21 2017 -0500

psximfs02/init.c: Increase size of buffer to avoid overwrite

---

 testsuites/psxtests/psximfs02/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/psxtests/psximfs02/init.c b/testsuites/psxtests/psximfs02/init.c
index d9bb4db..047a4fc 100644
--- a/testsuites/psxtests/psximfs02/init.c
+++ b/testsuites/psxtests/psximfs02/init.c
@@ -50,8 +50,8 @@ rtems_task Init(
 
   int status = 0;
   void *opaque;
-  char linkname_n[20] = {0};
-  char linkname_p[20] = {0};
+  char linkname_n[32] = {0};
+  char linkname_p[32] = {0};
   int i;
   struct stat stat_buf;
 



More information about the vc mailing list