[Bug 274968] rpc_clnt_create: The dg_cv variable uses absurdly too much memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Nov 2023 21:52:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274968

--- Comment #1 from Alan Somers <asomers@FreeBSD.org> ---
AIX is also affected: https://www.ibm.com/support/pages/apar/IY61508

From inspection, DragonflyBSD and NetBSD are affected.  OpenBSD seems to lack
this functionality.

Fedora is affected, or at least it was:
https://bugzilla.redhat.com/show_bug.cgi?id=1829947

Debian similarly was affected at one point:
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1651130.html
.

HP-UX is affected:
https://community.hpe.com/t5/operating-system-hp-ux/system-crash-quot-clnt-dg-create-out-of-memory-quot/m-p/2982314
.

Illumos is _not_ affected, and hasn't been since at least 2005 when github
history begins.
https://github.com/illumos/illumos-gate/blob/5e90766b81ebd3571c766124cfae6ee244d7d9d2/usr/src/lib/libnsl/rpc/clnt_dg.c#L4

tirpc is _not_ affected.  They fixed it by replacing the array with a linked
list.
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=e7c34df8f57331063b9d795812c62cec3ddfbc17

Also, for search engines' sake, I misspelled the name of the function in the
OP.  It should've been "clnt_dg_create".

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