Annocheck: Fix a division by zero error when parsing GO binaries.

Resolves: #1818863
This commit is contained in:
Nick Clifton 2020-03-30 17:13:30 +01:00
parent dcc513660a
commit dcdc0af39b
3 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View File

@ -132,3 +132,4 @@
/annobin-9.14.tar.xz
/annobin-9.15.tar.xz
/annobin-9.16.tar.xz
/annobin-9.18.tar.xz

View File

@ -1,7 +1,7 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 9.16
Version: 9.18
Release: 1%{?dist}
License: GPLv3+
# ProtocolURL: https://fedoraproject.org/wiki/Toolchain/Watermark
@ -175,7 +175,7 @@ if [ -z "%{gcc_vr}" ]; then
exit 1
fi
echo "Requires: (gcc >= %{gcc_major} with gcc < %{gcc_next})"
echo "Requires: (gcc >= %{gcc_major} and gcc < %{gcc_next})"
%autosetup -p1
@ -192,9 +192,9 @@ touch doc/annobin.info
%build
%if %{with debuginfod}
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR} --with-debuginfod
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR} --with-debuginfod || cat config.log
%else
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR}
%configure --quiet --with-gcc-plugin-dir=%{ANNOBIN_GCC_PLUGIN_DIR} || cat config.log
%endif
%make_build
@ -276,6 +276,9 @@ fi
#---------------------------------------------------------------------------------
%changelog
* Mon Mar 30 2020 Nick Clifton <nickc@redhat.com> - 9.18-1
- Annocheck: Fix a division by zero error when parsing GO binaries. (#1818863)
* Fri Mar 27 2020 Nick Clifton <nickc@redhat.com> - 9.16-1
- Annobin: Fix access to the -flto and -fsanitize flags.

View File

@ -1 +1 @@
SHA512 (annobin-9.16.tar.xz) = 8de941e4db9f355d7584ed97d524dcb021ff14375a2d79ee4b112d3e6a308bd9c6f5bdacab38f40fc94ca0f7f895aa41dc98e0dea772561028084c7c79fbda39
SHA512 (annobin-9.18.tar.xz) = cd7b19ffde8dcab6bcf75e997d743ccbbd3bcd17690061cb1a2ff05651bfbb43b37df408b6efc4e683d52ae5654dfaf23b56e1c3c58928759610576afdcd9346