Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/670c0179ec1f48e0113ec082143a9acdd2f7d6aa You should set ROOT_URL correctly, otherwise the web may not work correctly.

lzo: Update dst_len even on error

This allows the caller to easily detect how much of the destination buffer
has been used.

Signed-off-by: Simon Glass <sjg@chromium.org>
master
Simon Glass 11 years ago committed by Tom Rini
parent 9c55c54fb4
commit 670c0179ec
  1. 4
      lib/lzo/lzo1x_decompress.c

@ -102,8 +102,10 @@ int lzop_decompress(const unsigned char *src, size_t src_len,
tmp = dlen;
r = lzo1x_decompress_safe((u8 *) src, slen, dst, &tmp);
if (r != LZO_E_OK)
if (r != LZO_E_OK) {
*dst_len = dst - start;
return r;
}
if (dlen != tmp)
return LZO_E_ERROR;

Loading…
Cancel
Save