Fixes a possible buffer overflow. (There are others) Author: Danny Milosavljevic Date: 2020-11-16 --- a/gcc/gimplify.c.orig 2020-10-29 08:45:11.532479774 +0100 +++ b/gcc/gimplify.c 2020-10-29 08:45:49.584637018 +0100 @@ -5229,7 +5229,7 @@ flexibility, split it into separate input and output operands. */ tree input; - char buf[10]; + char buf[12]; /* Turn the in/out constraint into an output constraint. */ char *p = xstrdup (constraint); in'>index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/dbus.scm
AgeCommit message (Expand)Author
2021-03-10services: Prevent following symlinks during activation....This addresses a potential security issue, where a compromised service could trick the activation code in changing the permissions, owner and group of arbitrary files. However, this patch is currently only a partial fix, due to a TOCTTOU (time-of-check to time-of-use) race, which can be fixed once guile has bindings to openat and friends. Fixes: <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00388.html> * gnu/build/activation.scm: new procedure 'mkdir-p/perms'. * gnu/services/authentication.scm (%nslcd-activation, nslcd-service-type): use new procedure. * gnu/services/cups.scm (%cups-activation): likewise. * gnu/services/dbus.scm (dbus-activation): likewise. * gnu/services/dns.scm (knot-activation): likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos