From nobody Mon Dec 18 22:08:58 2023 X-Original-To: bugs@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 4SvDVz4QMqz549WZ for ; Mon, 18 Dec 2023 22:08:59 +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 4SvDVy5Pxwz3fGd for ; Mon, 18 Dec 2023 22:08:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702937338; a=rsa-sha256; cv=none; b=wDdGYfGVSfewBDOFslbN3yUF8k3yY6iB1HJkZOEvHci/OZYWv2nVWhYynPZ+hxzA0WY26w mbbeJHLK6H2TU5e2ynW51uHGe0TMXgdmljPQKSbUgmt9/5A0bDfT9OjbK4fVwdf2Tv5xIa EnGZdiXCFOa78BNjtD3j6DmE6LaZfGW6TgzBfmTlzlfsxbDc1mp3QHzvAkhNZhzdvBk3Wd rqiXkKPmc7SeHXePJ6kky0XFGNVHQ72ZDlV/7BNOlx0xxhi1w7VUzketLxyQq8of8F4q7e PMD/hNLejY21il1K9VfTO7mV/x+Jp6EcBS/K7n8ep9ChyoEbPsPfklow0H+KKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702937338; 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; bh=6xQyRem0XTR++PTa1Hk2QcahlOLq9q1oZqTx4aDKafw=; b=Sp2Pmk2cwOerY+Sw7sq8jGP7h0HwaCvqoF1nu+YIOojTn76TByf73OPEg3haewYgjkmxTs adUp1XTRrOIF78TwVpphO1xM1nwAB45rke+ZTZ2+rmJBhp3e2jtO0JZqtUMSKiYZRATGso RWMzUORKYjpgsV4ZjBNAJjKaRWXi2Lf4hyU5yi3kq4OWwAf2jqi3BvADfP9KiomXGEtEb9 P4eSkEDL1GSMs/s7Ov8CxNW5HQ8recA9xvGgBPx6TMoA5fVhHtcDKuwlpJ6t9wUxkZf7Zp r3O9/Di4vbW/PYA6UoaXPQdyDV/N1YZ9qERNNit8kzRXOsDzxoKLDGlxStNvuA== 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 4SvDVy3ZNhzdtJ for ; Mon, 18 Dec 2023 22:08:58 +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 3BIM8w4m043062 for ; Mon, 18 Dec 2023 22:08:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BIM8wxb043061 for bugs@FreeBSD.org; Mon, 18 Dec 2023 22:08:58 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: bugs@FreeBSD.org Subject: [Bug 275831] wcstoimax function is missing 'L' qualifier on a character constant Date: Mon, 18 Dec 2023 22:08:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Paul.Green@stratus.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275831 Bug ID: 275831 Summary: wcstoimax function is missing 'L' qualifier on a character constant Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: Paul.Green@stratus.com Please compare lib/libc/locale/wcstoimax.c to lib/libc/locale/wcstoumax.c a= nd you will see that the former file uses the expression: else if (c >=3D 'a' && c <=3D 'z') while the latter file uses the expression: else if (c >=3D L'a' && c <=3D L'z') The latter expression is correct. This expression ensures that wide character input strings presented to wcstoimax are limited to the characters 0-9, A-Z, and a-z. This bug is pres= ent in the initial version of the source file from 2002. --=20 You are receiving this mail because: You are the assignee for the bug.=