[U-Boot] Pull request for Kees Cook's compression fixes

Simon Glass sjg at chromium.org
Wed Sep 4 00:04:14 CEST 2013


Hi Tom,

I believe these qualify for the release since they are fixes/tests,
but this is up to you. To help with the process I have done a pull
request. Also I ran them through buildman (unfortunately I cannot
build all archs, but I build most). No new errors/warnings.

./tools/buildman/buildman -b x86-push -s
Summary of 8 commits for 1155 boards (32 threads, 1 job per thread)
01: Prepare v2013.10-rc2
  blackfin: +   bf561-acvilon cm-bf561 blackstamp br4 bct-brettl2
cm-bf527 dnp5370 bf506f-ezkit ip04 bf527-sdp bf609-ezkit bf537-stamp
bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u bf537-pnav cm-bf533 pr1
bf533-ezkit ibf-dsp561 bf537-srv1 cm-bf548 bf537-minotaur bf538f-ezkit
bf548-ezkit bf525-ucr2 blackvme bf527-ezkit tcm-bf537 bf533-stamp
bf518f-ezbrd bf527-ad7160-eval bf526-ezbrd bf561-ezkit
      m68k: +   M54455EVB_a66 M5329AFEE M5249EVB idmr M5208EVBE
M5475FFE M54451EVB astro_mcf5373l M54418TWR_serial_rmii
M54455EVB_intel M5282EVB M54455EVB_i66 M5475GFE M5253DEMO
M54455EVB_stm33 M5485BFE M5485DFE M5329BFEE M52277EVB M5475EFE
M5475CFE cobra5272 M5485AFE M53017EVB M5475AFE M5485HFE M5235EVB
M5253EVBE M54418TWR_nand_mii M54418TWR_nand_rmii_lowfreq TASREG
M5475BFE M5475DFE M5275EVB M52277EVB_stmicro eb_cpu5282
eb_cpu5282_internal M54451EVB_stmicro M5271EVB M5485GFE M5485EFE
M5485FFE M54418TWR M5235EVB_Flash32 M5373EVB M54418TWR_nand_rmii
M54418TWR_serial_mii M5485CFE M54455EVB M5272C3
   powerpc: +   MVBLM7 MVSMR lcd4_lwmon5
     sparc: +   grsim grsim_leon2 gr_cpci_ax2000 gr_xc3s_1500 gr_ep2s60
        sh: +   rsk7269 rsk7264 sh7752evb rsk7203 sh7757lcr
     nios2: +   PCI5441 nios2-generic PK1C20
microblaze: +   microblaze-generic
  openrisc: +   openrisc-generic
       arm: +   palmtc zipitz2 VCMA9 lubbock zynq_dcc vpac270_nor_128
colibri_pxa270 kzm9g zynq xaeniax palmtreo680 polaris pxa255_idp
lp8x4x vpac270_ond_256 vpac270_nor_256 smdk2410 h2200 balloon3 palmld
trizepsiv
02: sandbox: Correct compiler warnings in cmd_bootm/cmd_ximg
03: sandbox: add compression tests
04: documentation: add more compression configs
05: gzip: correctly bounds-check output buffer
06: lzma: correctly bounds-check output buffer
07: lzo: correctly bounds-check output buffer
08: bootm: allow correct bounds-check of destination



The following changes since commit fb18fa95a14ae875ef0a5421cd9fecc00c7c3a4c:

  Prepare v2013.10-rc2 (2013-09-02 14:20:36 -0400)

are available in the git repository at:

  ssh://gu-x86@git.denx.de/u-boot-x86.git comp

for you to fetch changes up to 315c0ace7c220591a9b220ab7698e85624b430c0:

  bootm: allow correct bounds-check of destination (2013-09-03 13:30:26 -0600)

----------------------------------------------------------------
Kees Cook (6):
      sandbox: add compression tests
      documentation: add more compression configs
      gzip: correctly bounds-check output buffer
      lzma: correctly bounds-check output buffer
      lzo: correctly bounds-check output buffer
      bootm: allow correct bounds-check of destination

Simon Glass (1):
      sandbox: Correct compiler warnings in cmd_bootm/cmd_ximg

 README                     |   9 +++
 common/cmd_bootm.c         |  12 +--
 common/cmd_ximg.c          |   5 +-
 include/configs/sandbox.h  |   5 ++
 lib/gunzip.c               |   4 +-
 lib/lzma/LzmaTools.c       |   8 +-
 lib/lzo/lzo1x_decompress.c |   8 +-
 test/Makefile              |   1 +
 test/compression.c         | 335
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 375 insertions(+), 12 deletions(-)
 create mode 100644 test/compression.c


More information about the U-Boot mailing list