Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Jan 3, 2020
2 parents 686d234 + 4a15d3c commit 9336703
Show file tree
Hide file tree
Showing 50 changed files with 2,126 additions and 614 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -49,8 +49,8 @@ matrix:
# env: XCC=clang HOST= PREFIX=/usr/local DEBUG="--enable-tests --enable-debug" WINE= GDKPIXBUF="--with-gdk-pixbuf2" GD="--with-gd" LIBCURL="--with-libcurl" JPEG=--without-jpeg PNG=--without-png
- os: linux
env: XCC=gcc HOST= PREFIX=/usr DEBUG="--enable-tests --enable-debug" WINE= GDKPIXBUF="--with-gdk-pixbuf2" GD="--with-gd" JPEG="--with-jpeg" PNG="--with-png" LIBCURL="--with-libcurl"
- os: osx
env: XCC=gcc HOST= PREFIX=/usr/local DEBUG="--enable-tests --enable-debug" WINE= GDKPIXBUF="--with-gdk-pixbuf2" GD="--with-gd" JPEG="--with-jpeg" PNG="--with-png" LIBCURL="--with-libcurl"
# - os: osx
# env: XCC=gcc HOST= PREFIX=/usr/local DEBUG="--enable-tests --enable-debug" WINE= GDKPIXBUF="--with-gdk-pixbuf2" GD="--with-gd" JPEG="--with-jpeg" PNG="--with-png" LIBCURL="--with-libcurl"
- os: linux
env: XCC=clang HOST= PREFIX=/usr DEBUG="--enable-tests --enable-debug" WINE= JPEG="--with-jpeg" PNG="--with-png" LIBCURL="--with-libcurl" GCOV="--enable-gcov" STATIC="--disable-shared"

Expand Down
192 changes: 192 additions & 0 deletions ChangeLog
@@ -1,5 +1,110 @@
2020-01-03 Hayaki Saito <saitoha@me.com>

* include/sixel.h.in, python/libsixel/__init__.py: Update python interface

2020-01-01 Hayaki Saito <saitoha@me.com>

* .travis.yml: travis: drop "--with-gdk-pixbuf2" build on osx

* src/frame.c, src/fromsixel.c: Prevent an integer overflow problem(#127)

2019-12-30 Hayaki Saito <saitoha@me.com>

* src/stb_image.h: Fix for CVE-2019-20056, assertion failure problem(#126).
Thanks to @sleicasper

2020-01-01 Hayaki Saito <saitoha@me.com>

* config.h.in, configure, configure.ac, src/allocator.c, src/chunk.c,
src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c,
src/frompnm.c, src/fromsixel.c, src/loader.c, src/malloc_stub.c,
src/output.c, src/pixelformat.c, src/quant.c, src/scale.c, src/status.c,
src/tests.c, src/tosixel.c, src/tty.c, src/writer.c: Build fixes

2019-12-31 Hayaki Saito <saitoha@me.com>

* Makefile.in, config.h.in, configure, configure.ac, src/chunk.c,
src/decoder.c, src/fromsixel.c, src/malloc_stub.c, src/pixelformat.c,
src/status.c, src/stb_image.h, src/tests.c, src/tosixel.c, src/tty.c: Minor
update of configure checks

2019-12-29 Hayaki Saito <saitoha@me.com>

* include/sixel.h.in, src/frompnm.c, src/writer.c: Add some input param
checks to sixel_helper_write_image_file()

* src/tosixel.c: Add some input param checks to sixel_encode()

* ChangeLog: Update Changelog

2019-12-28 Hayaki Saito <saitoha@me.com>

* src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip
trailing spaces

* configure, configure.ac, package.json: Bump version

* ChangeLog, Makefile.in: Update ChangeLog

2019-12-27 Hayaki Saito <saitoha@me.com>

* Makefile.in, config.h.in, configure, configure.ac, src/loader.c: Avoid
illegal longjump() call (#124)

* Makefile.in, configure, configure.ac: Strip unnecessary CFLAGS options

2019-12-25 Hayaki Saito <saitoha@me.com>

* src/fromgif.c: GIF loader: avoid segfault caused by an integer overflow
problem(#125, reported by @cuanduo).

* src/loader.c: Image loader: normalize requested colors to prevent integer
overflow

2019-12-23 Hayaki Saito <saitoha@me.com>

* include/sixel.h.in, src/allocator.c: Introduce SIXEL_ALLOCATE_BYTES_MAX
macro and limit allocation size to 128MB(#74)

* src/fromgif.c: Minor fixes in load_gif().

* src/fromgif.c: GIF loader: check bad image separator, ensure left/top
offset of image don't reach image margins (#122)

* include/sixel.h.in, src/fromgif.c: GIF loader: set default gif delay

* src/fromgif.c: GIF loader: skip unknown extension block

* src/fromgif.c: Avoid a buffer overflow problem on reading graphic control
extension block

* Makefile.in, converters/Makefile.am, converters/Makefile.in,
src/fromgif.c: GIF loader: consider frame-local color table for deciding the
number of output colors

* src/fromgif.c: Strip first flag check in LZW compression function for
issue #118

2019-12-21 Hayaki Saito <saitoha@me.com>

* src/stb_image.h: Fix memory leak in STBI PSD loader

2019-12-20 Hayaki Saito <saitoha@me.com>

* src/fromsixel.c: Fix memory leak problem in fromsixel.c (#120)

2019-12-21 Hayaki Saito <saitoha@me.com>

* Makefile.am: Fix coveralls optoins

* src/dither.c: Fix broken unittest

2019-12-19 Hayaki Saito <saitoha@me.com>

* NEWS: Update NEWS

* ChangeLog: Update ChangeLog

* src/fromsixel.c: sixel decoder: extend image width and height separately

2019-12-18 Hayaki Saito <saitoha@me.com>
Expand Down Expand Up @@ -69,6 +174,11 @@
* src/dither.c: Avoid illegal memory access problem with 1 color paletted
png(#73), Thanks to HongxuChen.

* Makefile.in, aclocal.m4, configure, converters/Makefile.in,
include/Makefile.in, m4/ax_gcc_builtin.m4, python/Makefile.in,
src/Makefile.in, tools/Makefile.in: Add missing m4 macro
m4/ax_gcc_builtin.m4

* README.md: Update README

* README.md: Update README
Expand Down Expand Up @@ -165,6 +275,8 @@

* .travis.yml: Drop mingw32 build

* .travis.yml: Ammend fix for e18ebe6

* .travis.yml: Drop mingw32 build

2019-12-02 pwd <weidangpeng@gmail.com>
Expand Down Expand Up @@ -287,6 +399,8 @@
* src/decoder.c: Fix memory leak problems reported in #67
https://github.com/saitoha/libsixel/issues/67

* src/dither.c, src/encoder.c, src/quant.c: Add some comments

* src/dither.c, src/quant.c: Issue #68: check invalid color number(<1)
https://github.com/saitoha/libsixel/issues/68

Expand All @@ -296,8 +410,36 @@
* src/frompnm.c: Prevent stack-buffer-overflow reported in #71
https://github.com/saitoha/libsixel/issues/71

2018-06-25 Hayaki Saito <saitoha@me.com>

* src/stb_image.h: Prevent occurence of UndefinedBehaviorSanitizer in
stb_image

2018-06-19 Hayaki Saito <saitoha@me.com>

* Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
converters/Makefile.in, include/Makefile.in, python/Makefile.in,
src/Makefile.in, src/fromsixel.c, tools/Makefile.in: Add missing default
case in RGB to HLS converter

2018-06-18 Hayaki Saito <saitoha@me.com>

* README.md: Add ax_gcc_builtin.m4 for checking GCC built-in functions

2018-06-17 Hayaki Saito <saitoha@me.com>

* src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip
trailing spaces

2018-06-14 Hayaki Saito <saitoha@me.com>

* examples/opengl/main.c: example/opengl: use high level API,
sixel_encoder_encode_bytes() instead of sixel_encode()

2018-06-10 Hayaki Saito <saitoha@me.com>

* converters/img2sixel.1: Fix a typo: a_dither -> x_dither(issue #66)

* Makefile.in, config.h.in, configure, configure.ac, package.json: Bump
version: 1.8.1

Expand Down Expand Up @@ -438,8 +580,55 @@
CODE IN LZW COMPRESSION" in [this
document](https://www.w3.org/Graphics/GIF/spec-gif89a.txt).

2018-03-17 Hayaki Saito <saitoha@me.com>

* Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure,
converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing,
py-compile, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Update
autotools version

2017-06-22 Hayaki Saito <saitoha@me.com>

* src/fromsixel.c: Fix wrong HLS color handling

2017-06-23 Hayaki Saito <saitoha@me.com>

* LICENSE.xterm, src/fromsixel.c: Rewrinte HLS handling function
hls_to_rgb()

* include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/quant.h,
src/tosixel.c: Introduce new meta type sixel_index_t (now equals unsigned
char)

* src/output.h, src/tosixel.c: sixel_node_t::map should be represented as
7bit character, not 8bit

* src/encoder.c, src/quant.c: Add annotations for some fixed buffer size

* src/dither.c, src/encoder.c, src/quant.c, src/tosixel.c: Respect to
constant value SIXEL_PALETTE_MAX

* src/tosixel.c: Prevent HLS saturation parameter overflow(>100)

2017-06-22 Hayaki Saito <saitoha@me.com>

* src/fromsixel.c: Fix wrong HLS color handling

2017-06-10 Hayaki Saito <saitoha@me.com>

* README.md: Update README for adding some language bindings

* examples/drawing/main.c, examples/opengl/main.c, src/output.c: Example:
Minor fixes

2017-06-03 Hayaki Saito <saitoha@me.com>

* examples/opengl/main.c: demo/opengl: don't use deplecated API functions

2017-05-18 Hayaki Saito <saitoha@me.com>

* README.md: README: add mention for forth-sixel

* converters/Makefile.am, converters/Makefile.in: Minor fixes

2017-05-03 Hayaki Saito <saitoha@me.com>
Expand All @@ -452,6 +641,9 @@

* converters/img2sixel.c: Fix typo a_dither -> x_dither

* README.md, converters/img2sixel.1, converters/img2sixel.c: Mark -D,
--pipe-mode option as deprecated.

* .travis.yml: Reduce test cases for OSX.

* src/encoder.c: Fix for Issue #57, lack of O_TRUNC when open() is called.
Expand Down
34 changes: 0 additions & 34 deletions LICENSE.xterm

This file was deleted.

7 changes: 2 additions & 5 deletions Makefile.am
Expand Up @@ -34,10 +34,7 @@ valgrind: all
grep "indirectly lost: 0 bytes in 0 blocks" valgrind.log

coveralls:
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic

coveralls-dryrun: test
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h \
--dryrun
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic --dryrun
14 changes: 6 additions & 8 deletions Makefile.in
Expand Up @@ -90,7 +90,8 @@ build_triplet = @build@
host_triplet = @host@
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_gcc_func_attribute.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_gcc_builtin.m4 \
$(top_srcdir)/m4/ax_gcc_func_attribute.m4 \
$(top_srcdir)/m4/ax_gcc_var_attribute.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
Expand Down Expand Up @@ -192,8 +193,8 @@ CTAGS = ctags
CSCOPE = cscope
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/libsixel.pc.in $(srcdir)/package.json.in.in \
ChangeLog NEWS compile config.guess config.sub depcomp \
install-sh ltmain.sh missing py-compile
ChangeLog NEWS compile config.guess config.sub install-sh \
ltmain.sh missing py-compile
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
Expand Down Expand Up @@ -930,13 +931,10 @@ valgrind: all
grep "indirectly lost: 0 bytes in 0 blocks" valgrind.log

coveralls:
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic

coveralls-dryrun: test
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h \
--dryrun
coveralls -e config.h -e stb_image.h -e stb_image_write.h -e examples -e include -e perl -e php -e ruby -e wic --dryrun

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
Expand Down
24 changes: 24 additions & 0 deletions NEWS
Expand Up @@ -2,6 +2,30 @@
------------------------------
What's new in libsixel-1.8 ?
------------------------------
* Security fix for CVE-2019-20205 (#127), integer overflow problem,
reported by @sleicasper.

* Security fix for CVE-2019-20056 (#126), assertion failure problem,
reported by @sleicasper.

* Security fix for CVE-2019-20094 (#125), heap overflow problem,
reported by @cuanduo.

* Security fix for #124, illegal longjump() call problem,
reported by @cuanduo.

* Serucity fix for #74 and #123, access violation problem,
reported by @HongxuChen and SuhwanSong.

* Security fix for #122, heap overflow problem,
reported by @SuhwanSong.

* Security fix for CVE-2019-20023(#117, #119, #120), memory leaks problem,
reported by @SuhwanSong and @gutiniao.

* Strip first flag check in LZW compression function for issue #118,
reported by @yoichi

* Security fix for CVE-2019-11024 (#85), recursive loop problem,
reported by @Loginsoft-Research.

Expand Down

0 comments on commit 9336703

Please sign in to comment.