diff options
author | Adam Wolk <a.wolk@fudosecurity.com> | 2021-12-14 22:18:04 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-12-14 22:20:27 +0900 |
commit | 03d66a4c640d3363f919b29d0298f6e132bfda48 (patch) | |
tree | 996939d075f89e937508cd4224cbddce110b2a0b /deskutils/qownnotes | |
parent | 73dab76d6a538ec0c037040fa1b5641569b5f51d (diff) | |
download | freebsd-ports-03d66a4c640d3363f919b29d0298f6e132bfda48.zip |
devel/electron13: fix obtaining HOST_NAME_MAX
Using sysconf(3) API lead to accidental introduction of variable
length arrays (VLA) in the port. Additionally gethostname(3) has been
passed _SC_HOST_NAME_MAX incorrectly as the HOST_NAME_MAX length.
Fall back to using _POSIX_HOST_NAME_MAX as the remaining code is not
ready for introducing sysconf(3) as a patch.
Bump PORTREVISION to rebuild with the new patch.
The patch was lifted from www/chromium which has a similar diff
pending.
Sponsored by: Fudo Security
Differential Revision: https://reviews.freebsd.org/D30064
Diffstat (limited to 'deskutils/qownnotes')
0 files changed, 0 insertions, 0 deletions