[PATCH 00/10] Warning Fixes

Joel Sherrill joel at rtems.org
Wed Jun 21 17:52:07 UTC 2017


Hi

This is a series of patches to fix warnings that showed up
with the recent update to gcc 7. I filed tickets on issues
which required more insight from the original author to resolve.

--joel

Joel Sherrill (10):
  rbheap01/init.c: Fix PAGE_SIZE redefined warning
  top/task1.c: Fix sprintf() buffer overflow
  capture/rtems-trace-buffer-vars.c: Fix duplicate const warning
  malloctest/init.c: Disable check maximum size warning to allow error
    test case
  lpc176x/misc/restart.c: Fix duplicate const warning
  i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning
  sys/utsname.h: Increase buffer to avoid overflow
  dl03/dl-cache.c: Fix duplicate const warning
  psximfs02/init.c: Avoid potential string overflow
  psxstat/test.c: Avoid potential string overflow

 c/src/lib/libbsp/arm/lpc176x/misc/restart.c        |  2 +-
 c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c |  2 +-
 cpukit/libcsupport/include/sys/utsname.h           |  4 +-
 cpukit/libmisc/capture/rtems-trace-buffer-vars.c   |  2 +-
 testsuites/libtests/dl03/dl-cache.c                |  2 +-
 testsuites/libtests/malloctest/init.c              |  3 +
 testsuites/libtests/rbheap01/init.c                | 74 +++++++++++-----------
 testsuites/libtests/top/task1.c                    |  2 +-
 testsuites/psxtests/psximfs02/init.c               |  4 +-
 testsuites/psxtests/psxstat/test.c                 |  7 +-
 10 files changed, 54 insertions(+), 48 deletions(-)

-- 
1.8.3.1



More information about the devel mailing list