FreeBSD Bugzilla – Attachment 207447 Details for
Bug 240549
devel/dbus: Loops over all possible file descriptors (Use closefrom(2))
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dbus.patch (text/plain), 654 bytes, created by
Ivan Rozhuk
on 2019-09-13 00:04:52 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-09-13 00:04:52 UTC
Size:
654 bytes
patch
obsolete
>Index: devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c >=================================================================== >--- devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c (nonexistent) >+++ devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c (working copy) >@@ -0,0 +1,14 @@ >+--- dbus/dbus-sysdeps-unix.c.bak 2018-08-02 19:13:02.000000000 +0300 >++++ dbus/dbus-sysdeps-unix.c 2019-09-13 02:55:41.904210000 +0300 >+@@ -4479,6 +4479,11 @@ >+ } >+ #endif >+ >++#if defined(HAVE_CLOSEFROM) || defined(__FreeBSD__) >++ closefrom(3); >++ return; >++#endif >++ >+ maxfds = sysconf (_SC_OPEN_MAX); >+ >+ /* Pick something reasonable if for some reason sysconf says
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240549
:
207447
|
247139
|
247140