From nobody Thu Apr 21 16:35:54 2022 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 4D6BC11D8541 for ; Thu, 21 Apr 2022 16:35:54 +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 4KkjpL0XDJz3qDs for ; Thu, 21 Apr 2022 16:35:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E68E3407E for ; Thu, 21 Apr 2022 16:35:53 +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 23LGZr23034293 for ; Thu, 21 Apr 2022 16:35:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23LGZrso034292 for bugs@FreeBSD.org; Thu, 21 Apr 2022 16:35:53 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 224845] Change return type to size_t in dd(1) Date: Thu, 21 Apr 2022 16:35:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pstef@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650558954; 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=CWuvhhIEBFV1kDumkmDN9xuU535x4cOiU4NSlfQLd3o=; b=YW9e6R28XyT8aAbzcwCgPEFH3JKB8m1UIU1XtSLaMJOrHI54Klbp12bJHllmzU0vluDE8z g0SBkEHuR+cbi9aGAknH4908t/2ryJnjcFzjwkVt0CbWgW2r1x2tyYgLntEq+WxjCsuUWW nQbVthkomS5Gp+52vw4dS6hyXNjFepVOtAjjGCMtEqIJEPzmmSKqPpLjuY/gM++2hWczfk Ztso88CbkU9/ssm+Gd11g1uZBloObw1c6S9/hri/RhH9mTIerrkMphxfwICHXHhAkWnsti w6E99wVTI+r2idldK/HlSrwYU0UtTLP0k5PmIPa5l4FYrvoWlCvBkTguq5mbzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650558954; a=rsa-sha256; cv=none; b=D75fj+6DxFofB7h+jE0VmKpWp7DEnhlqCDNDyrbzIiSX4lwu+q6yf5Kx7DlKtPDM2H2q5l ZZ24ydzCIXH47Iog3Vg+Or5YChsPiArUm0pEqGSpX+8CIdQG2mkSM2oN4dJnjYFo9hQ3EM Uo5TUDGOmTjl1DQabR5avF8tqzPmvxzSKkkfXHNmxp2Yto6iYlgDU4k3i78rUcuK7h/HXJ fYC9AHirSje3IrPnFLFCxa1pZWb5xKwxt0emgs+3h+KgBv7HSbWztt9knlqf/R+LtsHqQe klsT7nt7EpxwwH5NPWAlUCIdU1NJ5wbEyX8QW9dZuV2EWVZiqbU6g0QD4djPOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224845 Piotr Pawel Stefaniak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug CC| |pstef@freebsd.org Status|New |Closed --- Comment #2 from Piotr Pawel Stefaniak --- This is purposely wider than size_t. get_num() is used by several functions, including f_count() and the uintmax_t type makes it possible to copy UINTMAX_MAX blocks. Some of the callers can compare the value against SSIZE= _MAX and yield an error if it is too large; otherwise, the value is converted to size_t. --=20 You are receiving this mail because: You are the assignee for the bug.=