Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package radare2 for openSUSE:Factory checked in at 2026-11-16 09:09:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/radare2 (Old) and /work/SRC/openSUSE:Factory/.radare2.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "radare2" Mon Nov 16 09:09:07 2026 rev:18 rq:1397723 version:6.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/radare2/radare2.changes 2026-09-15 12:49:15.955047527 +0200 +++ /work/SRC/openSUSE:Factory/.radare2.new.1251/radare2.changes 2026-11-16 09:15:19.841055580 +0100 @@ -1,0 +2,21 @@ +Sun Nov 8 11:48:35 UTC 2026 - Eyad Issa <[email protected]> + +- Add big-openssl-i586.patch: fix 64-bit integer conversions and + bitwise operations with OpenSSL on 32-bit systems. + +------------------------------------------------------------------- +Sun Nov 8 00:00:00 UTC 2026 - Eyad Issa <[email protected]> + +- Update to version 6.2.6 (including 6.2.4): + * Improve function and type analysis, calling conventions, DWARF, + and ARM, MIPS, V850 and other architecture support + * Improve binary parsing, disassembly, debugging and performance + * Fix memory safety issues and bound analysis of malformed inputs + * Update bundled SDB, QuickJS and test fixtures +- Drop test-cc-default.patch: fixed upstream. +- Add meson-pcap.patch: build and register the PCAP plugin with + Meson. +- Enable TLS and big-number support using system OpenSSL. +- Enable the libuv server integration. + +------------------------------------------------------------------- @@ -70,0 +92,5 @@ +- CVE-2026-14757 (boo#1270445): integer overflow in + core_anal_bytes; upstream affected through 6.1.6, fixed in 6.1.8 +- CVE-2026-14758 (boo#1270447): integer overflow in the hexpairs + parser; upstream affected through 6.1.6, fixed in 6.1.8 by + 84e773986e7e5bb30453a9384f498ec0ccc9d0a9 Old: ---- quickjs-9d15fb60b67c45fd0de413bb49e48f8dacebac16.tar.gz radare2-6.2.2.tar.gz radare2-testbins-d6a4529fd6c8439a309abbcf00bb7a9efc9e8271.tar.gz sdb-2.5.2.tar.gz test-cc-default.patch New: ---- big-openssl-i586.patch meson-pcap.patch quickjs-b51e5278439b2fa0510fbb1f3b3dff9f0064d5d7.tar.gz radare2-6.2.6.tar.gz radare2-testbins-297b778000bbfaf9bf4717cb95535c3b80d52e3e.tar.gz sdb-2.6.2.tar.gz ----------(Old B)---------- Old: * Update bundled SDB, QuickJS and test fixtures - Drop test-cc-default.patch: fixed upstream. - Add meson-pcap.patch: build and register the PCAP plugin with ----------(Old E)---------- ----------(New B)---------- New: - Add big-openssl-i586.patch: fix 64-bit integer conversions and bitwise operations with OpenSSL on 32-bit systems. New:- Drop test-cc-default.patch: fixed upstream. - Add meson-pcap.patch: build and register the PCAP plugin with Meson. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ radare2.spec ++++++ --- /var/tmp/diff_new_pack.UP2DJf/_old 2026-11-16 09:15:22.347160647 +0100 +++ /var/tmp/diff_new_pack.UP2DJf/_new 2026-11-16 09:15:22.349160731 +0100 @@ -16,13 +16,13 @@ # -%global sdb_rev 2.5.2 -%global sdb_soname 2_5_2 +%global sdb_rev 2.6.2 +%global sdb_soname 2_6_2 %global zydis_rev 4.1.0 -%global qjs_rev 9d15fb60b67c45fd0de413bb49e48f8dacebac16 -%global tests_rev d6a4529fd6c8439a309abbcf00bb7a9efc9e8271 +%global qjs_rev b51e5278439b2fa0510fbb1f3b3dff9f0064d5d7 +%global tests_rev 297b778000bbfaf9bf4717cb95535c3b80d52e3e Name: radare2 -Version: 6.2.2 +Version: 6.2.6 Release: 0 Summary: Reverse Engineering Framework License: GPL-3.0-only AND LGPL-3.0-only @@ -33,7 +33,8 @@ Source3: https://github.com/radareorg/radare2-testbins/archive/%{tests_rev}/radare2-testbins-%{tests_rev}.tar.gz Source4: https://github.com/zyantific/zydis/releases/download/v%{zydis_rev}/zydis-amalgamated.tar.gz#/zydis-%{zydis_rev}.tar.gz Patch0: pkgconfig.patch -Patch1: test-cc-default.patch +Patch1: meson-pcap.patch +Patch2: big-openssl-i586.patch BuildRequires: chrpath BuildRequires: dos2unix BuildRequires: fdupes @@ -127,7 +128,9 @@ -Duse_sys_zlib=true \ -Duse_sys_lz4=true \ -Duse_sys_xxhash=true \ + -Duse_ssl=true \ -Duse_sys_openssl=true \ + -Duse_libuv=true \ -Duse_webui=true \ %{nil} %meson_build ++++++ big-openssl-i586.patch ++++++ >From 6190d612b07b25269c3cd57abc9195620c900fa6 Mon Sep 17 00:00:00 2001 From: Eyad Issa <[email protected]> Date: Sun, 8 Nov 2026 12:49:33 +0100 Subject: [PATCH] Fix OpenSSL big-number conversions on 32-bit hosts OpenSSL BN_ULONG is 32 bits on i586, so conversions truncate 64-bit values and unsigned arithmetic corrupts negative results. The bitwise operations also lose chunks when BN_get_word overflows. Convert through an eight-byte representation independently of the OpenSSL word size. Add tests for signed 64-bit boundaries and a value wider than 32 bits. --- libr/util/big_ssl.c | 40 ++++++++++++++++++++++++---------------- test/unit/test_big.c | 9 +++++++++ 2 files changed, 33 insertions(+), 16 deletions(-) diff --git a/libr/util/big_ssl.c b/libr/util/big_ssl.c index 4e0cd2e..2252c71 100644 --- a/libr/util/big_ssl.c +++ b/libr/util/big_ssl.c @@ -20,27 +20,35 @@ R_API void r_big_fini(RNumBig *b) { } R_API void r_big_from_int(RNumBig *b, st64 v) { - if (v < 0) { - BN_set_word (b, -v); - BN_set_negative (b, v); - } else { - BN_set_word (b, v); + ut64 magnitude = v < 0? 0 - (ut64)v: (ut64)v; + ut8 bytes[8]; + for (int i = 7; i >= 0; i--) { + bytes[i] = magnitude & 0xff; + magnitude >>= 8; } + BN_bin2bn (bytes, sizeof (bytes), b); + BN_set_negative (b, v < 0); } R_API st64 r_big_to_int(RNumBig *b) { - BN_ULONG maxx = 0; - maxx = ~maxx; - BN_ULONG res = BN_get_word (b); - if (res == maxx) { - RNumBig *B = r_big_new (); - r_big_assign (B, b); - BN_mask_bits (B, BN_BYTES * 8 - 1); - res = BN_get_word (B); - r_big_free (B); + ut8 bytes[8]; + RNumBig *low = BN_dup (b); + if (!low) { + return 0; } - res *= (BN_is_negative (b)? -1: 1); - return res; + if (BN_num_bits (low) > 64) { + BN_mask_bits (low, 64); + } + int len = BN_bn2binpad (low, bytes, sizeof (bytes)); + BN_free (low); + if (len < 0) { + return 0; + } + ut64 value = 0; + for (size_t i = 0; i < sizeof (bytes); i++) { + value = (value << 8) | bytes[i]; + } + return (st64)(BN_is_negative (b)? 0 - value: value); } R_API void r_big_from_hexstr(RNumBig *b, const char *str) { diff --git a/test/unit/test_big.c b/test/unit/test_big.c index 3536162..0d1bb8e 100644 --- a/test/unit/test_big.c +++ b/test/unit/test_big.c @@ -12,6 +12,15 @@ static bool test_r_big_from_to_int(void) { r_big_from_int (a, -0x7fff); mu_assert_eq (-0x7fff, r_big_to_int (a), "Failed r_big_from_int"); +#if HAVE_LIB_SSL + r_big_from_int (a, ST64_MIN); + mu_assert_eq (ST64_MIN, r_big_to_int (a), "minimum signed value"); + r_big_from_int (a, ST64_MAX); + mu_assert_eq (ST64_MAX, r_big_to_int (a), "maximum signed value"); + r_big_from_int (a, 0x12345678abcdef01LL); + mu_assert_eq (0x12345678abcdef01LL, r_big_to_int (a), "64-bit value"); +#endif + r_big_free (a); mu_end; } -- 2.56.0 ++++++ meson-pcap.patch ++++++ --- a/libr/meson.build +++ b/libr/meson.build @@ -242,6 +242,7 @@ bin_plugins += [ 'art', + 'pcap', 'pyc', 'avr', 'bflt', --- a/libr/bin/meson.build +++ b/libr/bin/meson.build @@ -65,6 +65,8 @@ 'p/bin_nso.c', 'p/bin_omf.c', 'p/bin_p9.c', + 'p/bin_pcap.c', + 'format/pcap/pcap.c', 'p/bin_pe.c', 'p/bin_pe64.c', 'p/bin_pebble.c', ++++++ quickjs-9d15fb60b67c45fd0de413bb49e48f8dacebac16.tar.gz -> quickjs-b51e5278439b2fa0510fbb1f3b3dff9f0064d5d7.tar.gz ++++++ ++++ 3114 lines of diff (skipped) ++++++ radare2-6.2.2.tar.gz -> radare2-6.2.6.tar.gz ++++++ /work/SRC/openSUSE:Factory/radare2/radare2-6.2.2.tar.gz /work/SRC/openSUSE:Factory/.radare2.new.1251/radare2-6.2.6.tar.gz differ: char 16, line 1 ++++++ radare2-testbins-d6a4529fd6c8439a309abbcf00bb7a9efc9e8271.tar.gz -> radare2-testbins-297b778000bbfaf9bf4717cb95535c3b80d52e3e.tar.gz ++++++ /work/SRC/openSUSE:Factory/radare2/radare2-testbins-d6a4529fd6c8439a309abbcf00bb7a9efc9e8271.tar.gz /work/SRC/openSUSE:Factory/.radare2.new.1251/radare2-testbins-297b778000bbfaf9bf4717cb95535c3b80d52e3e.tar.gz differ: char 29, line 1 ++++++ sdb-2.5.2.tar.gz -> sdb-2.6.2.tar.gz ++++++ ++++ 2251 lines of diff (skipped)
