[Skiboot] [PATCH 00/13] UBSan/LeakSanitizer cleanup

Stewart Smith stewart at linux.vnet.ibm.com
Tue Aug 29 18:20:19 AEST 2017


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> This series cleans up a bunch of UBSAN and LeakSanitizer found issues
> in the unit tests.
>
> There's one actual bug in here, which meant that if you did a FSP
> reset/reload around New Years you could possibly get the incorrect
> time for a moment.
>
> Stewart Smith (13):
>   Fix mem leak in core/test/run-time-utils
>   test/mem_region: fix incorrect ibm,os-reserve region length
>   core/test/run-device: fix memory leak on exit
>   hdata_to_dt: free device tree on error path
>   hdata/hostservices: fix memory leak parsing mini dt
>   hdata: Reduce 'struct HDIF_array_hdr' alignment to 4 bytes
>   hdata/iohub: fix load of misaligned address for type 'long unsigned
>     int', which requires 8 byte alignment
>   libc/time.c: days_in_month() use char rather than int
>   mktime: fix off-by-one error calling days_in_month
>   libflash/test/test-flash.c: fix memory leak on exit
>   libflash: fix memory leak on flash_exit()
>   libflash/test/test-blocklevel: fix memory leak on exit
>   libc/test/run-snprintf: int -> unsigned int
>
>  core/test/run-device.c                            |  1 +
>  core/test/run-mem_region_release_unused.c         |  2 +-
>  core/test/run-mem_region_release_unused_noalloc.c |  2 +-
>  core/test/run-time-utils.c                        |  3 +++
>  hdata/hdif.h                                      |  2 +-
>  hdata/hostservices.c                              |  1 +
>  hdata/iohub.c                                     | 11 +++++++----
>  hdata/test/hdata_to_dt.c                          |  1 +
>  libc/test/run-snprintf.c                          |  3 ++-
>  libc/time.c                                       |  4 ++--
>  libflash/libflash.c                               |  7 +++++--
>  libflash/test/test-blocklevel.c                   |  2 ++
>  libflash/test/test-flash.c                        |  1 +
>  13 files changed, 28 insertions(+), 12 deletions(-)

Merged to master as of c168b37a3d662ad2ab0175c940eda072b04fda9c


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list