HomeFreeBSD

MFC r346539:

Description

MFC r346539:

Fix get_int_via_sysctlbyname(..) on Jenkins

Initialize oldlen to the size of the value, instead of leaving the value
unitialized. Leaving it unitialized seems to work by accident on amd64 when
running 64-bit programs, but not on i386.

This matches patterns in use in other programs.

PR: 237458
Tested on: ^/head (amd64), ^/stable/11 (i386)

Details

Provenance
ngieAuthored on
Parents
rS346910: MFC r344192 (by sef): Add support for a virtual hostname to nfsd
Branches
Unknown
Tags
Unknown