Copied from Debian. From: Kamil Dudka Date: Mon, 14 Sep 2015 18:24:56 +0200 Subject: fix infinite loop when extracting empty bzip2 data Bug-Debian: https://bugs.debian.org/802160 Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1260944 Origin: other, https://bugzilla.redhat.com/attachment.cgi?id=1073339 --- extract.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/extract.c +++ b/extract.c @@ -2728,6 +2728,12 @@ int repeated_buf_err; bz_stream bstrm; + if (G.incnt <= 0 && G.csize <= 0L) { + /* avoid an infinite loop */ + Trace((stderr, "UZbunzip2() got empty input\n")); + return 2; + } + #if (defined(DLL) && !defined(NO_SLIDE_REDIR)) if (G.redirect_slide) wsize = G.redirect_size, redirSlide = G.redirect_buffer; szko-scripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/glib.scm
AgeCommit message (Expand)Author
2023-09-14gnu: glib-next: Disable failing tests on the Hurd....* gnu/packages/glib.scm (glib-next)[arguments]: In phase `disable-tests', disable four extra failing tests when building on the Hurd. Janneke Nieuwenhuizen
2023-09-01gnu: dbus-cxx: Update to 2.4.0....* gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. [source]: Switch to git-fetch. [arguments]: Use g-exps. Adjust configure-flags. <phases>: Skip 'test-machine-uuid-method' test in check phase override. [inputs]: Add libcppgenerate. Remove python and glibmm. Move libsigc++ to... [propagated-inputs]: ...here. Add glib. [native-inputs]: Remove m4. [license]: Change to lgpl3+ and bsd-3. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 宋文武
2023-08-21gnu: Add sdbus-cpp....* gnu/packages/glib.scm (sdbus-cpp): New variable. Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Maxim Cournoyer
2023-07-20gnu: glib: Disable hanging and failing tests for the Hurd....* gnu/packages/glib.scm (glib)[arguments]: When building for the Hurd, in phase `disable-failing-tests', neutralize 20 hanging tests, and 37 more failing tests. Janneke Nieuwenhuizen
2023-06-04gnu: gobject-introspection: Fix cross-compiling....* gnu/packages/glib.scm(gobject-introspection)[native-inputs]: When cross-compiling add python. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Zheng Junjie
2023-05-28gnu: Add glibmm-next....* gnu/packages/glib.scm (glibmm-next): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de> Saku Laesvuori