Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174907433
D58486.id182836.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
858 B
Referenced Files
None
Subscribers
None
D58486.id182836.diff
View Options
Index: ports-mgmt/pkg/Makefile
===================================================================
--- ports-mgmt/pkg/Makefile
+++ ports-mgmt/pkg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pkg
DISTVERSION= 2.8.1
+PORTREVISION= 1
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
Index: ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
===================================================================
--- /dev/null
+++ ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
@@ -0,0 +1,12 @@
+--- libpkg/pkg_jobs.c.orig 2026-07-21 09:50:31 UTC
++++ libpkg/pkg_jobs.c
+@@ -925,7 +925,8 @@ pkg_jobs_find_upgrade(struct pkg_jobs *j, const char *
+ "remote repo", pattern);
+ rc = pkg_jobs_universe_add_pkg(j->universe, p, &unit);
+ if (rc == EPKG_END) {
+- pkg_free(p);
++ if (!pkg_in_universe(j->universe, p))
++ pkg_free(p);
+ rc = EPKG_OK;
+ }
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 7, 9:50 PM (4 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40378843
Default Alt Text
D58486.id182836.diff (858 B)
Attached To
Mode
D58486: ports-mgmt/pkg: Fix UAF during additional SAT cycle
Attached
Detach File
Event Timeline
Log In to Comment