fix a mistake i made with the scope of futex addresses.
only futexes pointing at shared memory mappings should allow
coordination between processes.
Wouter Spee reported a preforking gunicorn server would with a futex
in a COW mapping across a fork had futex wakeups delivered to the
wrong process.
this is a slightly different fix to the one they provided, but
semantically equivalent.
ok kettenis@ deraadt@
Update to pkgconf 3.0.11
no concerns by sthen and jca
* Security fixes:
- Package paths are accepted only in queries made directly on the command
line, not in Requires or Requires.private. This prevents a crafted pc(5)
file from causing infinite recursion by requiring itself through a path.
See GHSA-qcp5-98c5-hvh7.
- Limit the bytecode produced when a variable is repeatedly redefined in
terms of itself. This prevents a crafted pc(5) file from causing
exponential memory growth through self-referential variable expansion.
See GHSA-fr7f-m8jv-4qcm.
* Documentation and command-line help:
- List the existing --debug and --license-file options in --help output.
Patch by Andrej730.
https://github.com/pkgconf/pkgconf/blob/pkgconf-3.0.11/NEWS
xdg-desktop-portal-kde: honour current_folder in the file chooser
This fix my Firefox KDE save dialog. Now it jumps into ~/Downloads by default.
Without a running document portal (org.freedesktop.portal.Documents),
the D-Bus error text of the failed Info() call was used as a relative
path. The KDE file dialog therefore ignored the requested folder and
opened in the portals working directory, usually / or $HOME.
Return the path unchanged if the document portal is unavailable, and
ignore error replies from Info().
rpki-client: fix doc comment for carepo_increment()
ca.c 1.17 changed carepo_increment() to a void function, so it no longer
returns the counter.
Pointed out by Ties de Kock
sndiod: Handle -1 return value from snprintf(3)
Wrap snprintf(3) in a new xsnprintf() function that aborts if -1 is
returned. Use the value returned by xsnprintf() to determine the
expected output string size (i.e. the number of bytes that would have
been written if the buffer size was unlimited).
Fix buffer overflow in printf %s and %c formats for UTF-8 chars.
Awk allocates its buffer based on the length in characters instead
of bytes, which can lead to a buffer overflow when formatting UTF-8
characters in a UTF-8 locale.
From Martin Chang
Fix buffer overflow in string() when storing escaped unicode.
Only two bytes were allocated but escaped unicode can require up to 5
(four plus a NUL).
From Martin Chang
ieee80211_input_hwdecrypt() must free the mbuf before returning NULL.
Like ieee80211_decrypt(), ieee80211_input_hwdecrypt() is responsible for
freeing discarded frames, but failed to do so. This bug was introduced by
me in ieee80211_input.c,v r1.216 2020/05/15 when adding this function.
This sounds very bad, but my own impact analysis is as follows:
Only drivers which offload TKIP/CCMP decryption to hardware can be affected.
These are: athn, iwm, iwn, iwx, mtw, mwx, qwx, qwz, ral, run, urtwn, and wpi.
The following drivers filter duplicate data frames in hardware or in the
driver itself: athn, iwm, iwn, iwx, qwx, qwz, wpi, and urtwn.
In which case the leak won't trigger for regular data frames.
Encrypted multicast or management (PMF) frames might also trigger the leak
where drivers offload the group cipher to hardware: iwx, run, qwx, and qwz.
Under normal conditions such frames are rare enough for a leak to go unnoticed.
[30 lines not shown]
Use the generic timer counter to implement getsecs() in efiboot.
On the HP OmniBook X, the notify function of the periodic UEFI timer event
is never called, so ticks stays at 0 and the boot prompt timeout never
expires. Reading CNTVCT_EL0 directly avoids depending on firmware timer
events. Fall back to the timer event ticks if CNTFRQ_EL0 isn't set. Apply
the same Cortex-A73 errata 858921 workaround as agtimer(4).
Help, testing, and ok kettenis@