From nobody Thu Oct 10 16:22:03 2024 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 4XPZlb4vyxz5ZFbW for ; Thu, 10 Oct 2024 16:22:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPZlb16wwz51ty for ; Thu, 10 Oct 2024 16:22:03 +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=1728577323; 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=WRQlFBs2E4dIQXhnzFgHmM1NF0U+4zodiw+AFVQBBMw=; b=c4Vx2ylO0Z9vnZcPD3lL2KjQetYtqt6iwkOj2iK0o9PRjpxzZgdtSCqgMfdrMxgdmU9f9Y K3+bIVPpPgAXE+dED0JEgYhxunt5Z/2yTd6OEYvkJIaBxdcEMtLyMI6SzRVf6dZY8tvtQy JtsMznXMD6DeXqR3FW+ATZSuZ2hhQ8mS4kCmrHNcUULAo71k4ljsORyC1Tfp/f92M5hgNj lg27lKTYXA6AvXgPGc9rC4GaoGMRXxKfLSi15nGFmUFT2+GlMjTZWrRYvOUI72vPxO8blT D2GKNJSRnLscUVfZPTJwRsnbqFnYI/vB2fCQnR+fqO6MzWP2NUYrU4oXzS/iZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728577323; a=rsa-sha256; cv=none; b=FVJFt7K5V4gzOfIwWJe8VyPym2UxlpPz6O7Rl0uAAzSAi7T40RilTP9aSttPEC6xPbAjn1 jZvTgJvjsbPzaDvuH4/B7s8+tlQXvtmmR1SpjzgWTI6SUtQ6Mjcwr3J2v1NHE4iJwMrpdL kBsncfRt1tY6t1jW1evkF7a0IktG5KQoHMoyXHr5N1ulJFPqsOPdABwLHr1ml0uQu0Vmc/ Rrqu+F1cFrz691f1px/Fh14asabo+5zPuJutRBeRvscG24DrSWY7LVQy6jQYRvAMZVCiJo ZKxX4eriHq1dKyu/gpnWCJFiY23ZGL4TR0SCRsu55bsvUe7xr+g834f1VuOEdA== 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 4XPZlb0khGz13nd for ; Thu, 10 Oct 2024 16:22:03 +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 49AGM2Ku005434 for ; Thu, 10 Oct 2024 16:22:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49AGM2aL005433 for bugs@FreeBSD.org; Thu, 10 Oct 2024 16:22:02 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 34309] lpd(8) does not garantie that controlfiles begin with "cf" Date: Thu, 10 Oct 2024 16:22:03 +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: 1.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D34309 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended CC| |imp@FreeBSD.org Status|Open |Closed --- Comment #5 from Warner Losh --- So the proposed patch is bad. It can't possibly work. And even if we do fix it, it's not clear what the right thing to do is. And we already make sure the first digit is 't' later in readjob(), which is what we enforce in the rename routine. And we already make certain assumptions about the format of the cf file name that's passed over from the remote host, and if a remote host doesn't conform to that, weird things are going to happen. And HP-UX systems are vanishingly rare these days. So given all these considerations, we should let it fail since we have no w= ay of knowing, generally, if a remote system is sending us mal-formed names wh= at the right thing to do. In this case, it's to hack the name to have 'f' as t= he second character, but I don't think that's the right thing to do genericall= y. Plus we've had a lot of work on our lpd to make it more robust, and I think doing a hack like this goes against that grain. As such, I'm closing this bug as invalid. --=20 You are receiving this mail because: You are the assignee for the bug.=