From nobody Wed Dec 21 03:31:11 2022 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NcJrH5s9Wz1Ghr5 for ; Wed, 21 Dec 2022 03:31:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NcJrH3jrrz4DxW for ; Wed, 21 Dec 2022 03:31:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671593471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VFLMWjjXqa0Q0CWJ/HcuFmagkcEGZmZy/YrP47IOL1U=; b=T86epZc8rlKLCYzfI/9bOxrAvQt6HPXt8DClRLpZxOx8ZBsNb39KSPuNFXGmGZAXsLQAhJ PP/5hMyaNsBtLHprWz+aFMLSUQvLSf3Q8peSAizAlRd4D/73nlRGKjAL0VopRuKB3xp3ii oKgySeOw7XrwUfEPwKlUONkK2isXyFFR2LWi2Fg3iSeNHNV+sK9jLmR3Zzs/8Sa8pTn6T7 dONUSVx0YHOeZc3ujMTJHy0t4ouLU2HPRwVNwmDC0O4Rv/+MemUQgF8NOwbVIHaHH0iTc9 MnRGQn9AOvYaYzLMaNHkK9PlAWBBcDQvbZYRfByqSVtbXSEKO9MS8xa4og2v4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671593471; a=rsa-sha256; cv=none; b=aL2/z0Sr1UXA6ebggzs65wA7bEbLa/wJay7YdHiF4xAcrU3BrbOH/h9LrlS8BfnOXCI1rY a6PWzIO1d6v86DFqkVRJP7/gIY5g0yXBJDJD6lotCqLVuOpBHscfA6llrMjbZvsI3kkXQy feVIt/s8LZHYN6zyJGqkAuoL0jwBfAq9nnKC3M198Du+LRbc8nP0uE0aTxvaoBAVisae0q 1pTpdiqiBB52f5Q3X3b3axoqs0ebIWOjK4iVk+97dKGE1b1QfFLd4hMUfp1zTOUISwasmL 1g2CBrjP1VEKWPgzpC81eOpgW2hB7ps/UMW5O9k4B14dCNiH/fTuuEwXcdYyeA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NcJrH2pn7z118P for ; Wed, 21 Dec 2022 03:31:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BL3VBxe013552 for ; Wed, 21 Dec 2022 03:31:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BL3VBxs013551 for standards@FreeBSD.org; Wed, 21 Dec 2022 03:31:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv() Date: Wed, 21 Dec 2022 03:31:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268479 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #2 from Mark Millard --- (In reply to Dennis Clarke from comment #1) The way I read that material it indicates: A) '\0' is available as a potential internal(!) string terminator because the content of the string being represented is disallowed from including a '\0'. B) Nothing in the wording indicates an empty string is disallowed from being represented. Such an empty string could be followed by a string terminator ('\0') in the internal representation. > However putenv and setenv both allow the value to be just a NUL byte '\0' I suspect that this is '\0' used as an internal-string-terminator, not as content of the represented string. --=20 You are receiving this mail because: You are the assignee for the bug.=