Merge ~ravi-sharma/ubuntu/+source/openssl:fix-lp2137464 into ubuntu/+source/openssl:ubuntu/devel

Proposed by Ravi Kant Sharma
Status: Needs review
Proposed branch: ~ravi-sharma/ubuntu/+source/openssl:fix-lp2137464
Merge into: ubuntu/+source/openssl:ubuntu/devel
Diff against target: 63 lines (+38/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/regex_match_ecp_nistp521-ppc64.patch (+30/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
git-ubuntu import Pending
Review via email: mp+498081@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ravi Kant Sharma (ravi-sharma) wrote :

PPA: https://launchpad.net/~ravi-sharma/+archive/ubuntu/fix-lp2137464/+packages

* Results:
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [amd64]
    + ✅ openssl on resolute for amd64 @ 06.01.26 15:02:37
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/amd64/o/openssl/20260106_150237_40d5f@/log.gz
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [arm64]
    + ✅ openssl on resolute for arm64 @ 06.01.26 14:31:33
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/arm64/o/openssl/20260106_143133_04843@/log.gz
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [armhf]
    + ✅ openssl on resolute for armhf @ 06.01.26 14:33:31
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/armhf/o/openssl/20260106_143331_ff30e@/log.gz
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [i386]
    + ✅ openssl on resolute for i386 @ 06.01.26 15:04:31
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/i386/o/openssl/20260106_150431_3f822@/log.gz
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [ppc64el]
    + ✅ openssl on resolute for ppc64el @ 06.01.26 14:32:26
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/ppc64el/o/openssl/20260106_143226_24fd4@/log.gz
  - openssl: resolute/openssl/3.5.3-1ubuntu3 [s390x]
    + ✅ openssl on resolute for s390x @ 06.01.26 14:31:50
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-ravi-sharma-fix-lp2137464/resolute/s390x/o/openssl/20260106_143150_bf3ca@/log.gz

bf873a2... by Ravi Kant Sharma

match last filename for output in ecp_nistp521-ppc64.pl

Unmerged commits

aa4876a... by Ravi Kant Sharma

changelog for 3.5.3-1ubuntu3

bf873a2... by Ravi Kant Sharma

match last filename for output in ecp_nistp521-ppc64.pl

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index f96665e..4052112 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+openssl (3.5.3-1ubuntu3) resolute; urgency=medium
7+
8+ * match last filename for output in ecp_nistp521-ppc64.pl (LP: #2137464)
9+ - debian/patches/regex_match_ecp_nistp521-ppc64.patch
10+
11+ -- Ravi Kant Sharma <ravi.kant.sharma@canonical.com> Tue, 06 Jan 2026 14:39:05 +0100
12+
13 openssl (3.5.3-1ubuntu2) questing; urgency=medium
14
15 * SECURITY UPDATE: Out-of-bounds read & write in RFC 3211 KEK Unwrap
16diff --git a/debian/patches/regex_match_ecp_nistp521-ppc64.patch b/debian/patches/regex_match_ecp_nistp521-ppc64.patch
17new file mode 100644
18index 0000000..74085ab
19--- /dev/null
20+++ b/debian/patches/regex_match_ecp_nistp521-ppc64.patch
21@@ -0,0 +1,30 @@
22+Description: match last filename for output in ecp_nistp521-ppc64.pl
23+
24+ ecp_nistp521-ppc64.pl matches the incorrect param for output instead of
25+ crypto/ec/ecp_nistp521-ppc64.s This leads to ecp_nistp521-ppc64.pl writing
26+ output to STDOUT instead of the file crypto/ec/ecp_nistp521-ppc64.s. The
27+ missing .s file leads Missing .s file leads to gcc erroring out and build
28+ failure. Makefile generates command with crypto/ec/ecp_nistp521-ppc64.s as
29+ the last param. This page matches the last filename instead of first.
30+
31+Author: Ravi Kant Sharma <ravi.kant.sharma@canonical.com>
32+Bug-Ubuntu: https://launchpad.net/bugs/2137464
33+
34+---
35+Forwarded: https://github.com/openssl/openssl/pull/29417
36+Last-Update: 2025-12-17
37+
38+--- openssl-3.0.13.orig/crypto/ec/asm/ecp_nistp521-ppc64.pl
39++++ openssl-3.0.13/crypto/ec/asm/ecp_nistp521-ppc64.pl
40+@@ -19,7 +19,10 @@ use warnings;
41+
42+ my $flavour = shift;
43+ my $output = "";
44+-while (($output=shift) && ($output!~/\w[\w\-]*\.\w+$/)) {}
45++my $arg;
46++while ($arg = shift) {
47++ $output = $arg if $arg =~ /\w[\w\-]*\.\w+$/;
48++}
49+ if (!$output) {
50+ $output = "-";
51+ }
52diff --git a/debian/patches/series b/debian/patches/series
53index 22b53ff..05e7109 100644
54--- a/debian/patches/series
55+++ b/debian/patches/series
56@@ -7,6 +7,7 @@ conf-Serialize-allocation-free-of-ssl_names.patch
57 # Ubuntu patches
58
59 default-configuration-read-dropins-and-crypto-config.patch
60+regex_match_ecp_nistp521-ppc64.patch
61
62 # Ubuntu FIPS patches
63 fips/crypto-Add-kernel-FIPS-mode-detection.patch

Subscribers

People subscribed via source and target branches