Skip to content

Commit 6af9f3d

Browse files
[AUTOPATCHER-CORE] Upgrade libpng to 1.6.39 Fix CVE-2022-3857 (#9317)
Co-authored-by: Mandeep Plaha <mandeepplaha@microsoft.com>
1 parent c16735c commit 6af9f3d

4 files changed

Lines changed: 12 additions & 104 deletions

File tree

SPECS/libpng/libpng-fix-pngtest-random-failures.patch

Lines changed: 0 additions & 94 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Signatures": {
3-
"libpng-1.6.37.tar.xz": "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca"
4-
}
5-
}
2+
"Signatures": {
3+
"libpng-1.6.39.tar.xz": "1f4696ce70b4ee5f85f1e1623dc1229b210029fa4b7aee573df3e2ba7b036937"
4+
}
5+
}

SPECS/libpng/libpng.spec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
Summary: contains libraries for reading and writing PNG files.
22
Name: libpng
3-
Version: 1.6.37
4-
Release: 6%{?dist}
3+
Version: 1.6.39
4+
Release: 1%{?dist}
55
License: zlib
66
Vendor: Microsoft Corporation
77
Distribution: Mariner
88
Group: System Environment/Libraries
99
# The site does NOT have an HTTPS cert available.
1010
URL: http://www.libpng.org/
1111
Source0: https://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
12-
Patch0: libpng-fix-pngtest-random-failures.patch
1312

1413
%description
1514
The libpng package contains libraries used by other programs for reading and writing PNG files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems.
@@ -23,7 +22,6 @@ It contains the libraries and header files to create applications
2322

2423
%prep
2524
%setup -q
26-
%patch0 -p1
2725

2826
%build
2927
%configure
@@ -59,6 +57,10 @@ make %{?_smp_mflags} -k check
5957
%{_mandir}/man3/*
6058

6159
%changelog
60+
* Wed Jun 05 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 1.6.39-1
61+
- Auto-upgrade to 1.6.39 - Fix CVE-2022-3857
62+
- Remove patch - not needed in the new version
63+
6264
* Fri Apr 22 2022 Olivia Crain <oliviacrain@microsoft.com> - 1.6.37-6
6365
- Remove explicit pkgconfig provides that are now automatically generated by RPM
6466

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10621,8 +10621,8 @@
1062110621
"type": "other",
1062210622
"other": {
1062310623
"name": "libpng",
10624-
"version": "1.6.37",
10625-
"downloadUrl": "https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz"
10624+
"version": "1.6.39",
10625+
"downloadUrl": "https://downloads.sourceforge.net/libpng/libpng-1.6.39.tar.xz"
1062610626
}
1062710627
}
1062810628
},

0 commit comments

Comments
 (0)