[Bug 256230] security/oidentd 2.5.1 released with FreeBSD 13+ fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 May 2021 23:56:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256230

            Bug ID: 256230
           Summary: security/oidentd 2.5.1 released with FreeBSD 13+ fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: oliver@FreeBSD.org
          Reporter: bdrewery@FreeBSD.org
          Assignee: oliver@FreeBSD.org
             Flags: maintainer-feedback?(oliver@FreeBSD.org)

https://github.com/janikrabe/oidentd/commit/cd763e5aebc7f84fff0acad792d3e2a9b0ecdccb

> FreeBSD 5 introduced the `xucred` struct for external users in commit
> c0511d3b58c985e17c0c23585ea7d16b6f52fe61 to avoid breaking user space
> applications when the `ucred` struct changes.
> 
> oidentd happened to still work after this commit because the EUID it
> reads was stored at the same location in both structures. This is no
> longer the case with FreeBSD 13.
> 
> This commit updates the freebsd5 module to use `xucred` instead of
> `ucred` as the expected return type for getcred calls.

This is the extent of 2.5.0 -> 2.5.1 so the whole release can come in.

A trivial s/2.5.0/2.5.1/ in the Makefile seems enough for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.