From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55719: [PATCH] bindat strz fixes Date: Tue, 31 May 2022 14:08:04 +0300 Message-ID: <8335gqj6y3.fsf__1050.76374472759$1653996984$gmane$org@gnu.org> References: <77e643ea-9e19-f4e3-c109-6233eb84d56b@rhansen.org> <6b1670d3-ae69-7f95-0e7d-d7cee0763c4a@rhansen.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7000"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55719@debbugs.gnu.org, emacs-devel@gnu.org To: Richard Hansen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 31 13:36:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw0Ab-0001dj-20 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 13:36:17 +0200 Original-Received: from localhost ([::1]:48046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw0AZ-0000m9-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 07:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvzkF-0005Tk-Fg for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 07:09:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvzkE-000093-Pa for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 07:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nvzkE-0001jK-HP for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 May 2022 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55719 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55719-submit@debbugs.gnu.org id=B55719.16539952996588 (code B ref 55719); Tue, 31 May 2022 11:09:02 +0000 Original-Received: (at 55719) by debbugs.gnu.org; 31 May 2022 11:08:19 +0000 Original-Received: from localhost ([127.0.0.1]:46785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvzjO-0001i2-M2 for submit@debbugs.gnu.org; Tue, 31 May 2022 07:08:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nvzjN-0001hq-16 for 55719@debbugs.gnu.org; Tue, 31 May 2022 07:08:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvzjF-0008SW-RG; Tue, 31 May 2022 07:08:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lRuMUV2rmlRyl7ykHtfSF/SdKD/2csLz8JXyuIFGcyI=; b=RmWoDxY9CoWr E90Ii2oyg0SmbVkbe+kOcO7SzKPyP6uVhmjtQCBnvdHz7af+xVbPR15O52w6kQYBjuI6Sh6P3NWQV jJco3TAfMre1e3gmo7tgU90A1dMhJOBK2hXdPf58tjVY6KFFwimdBs+FN6wh8ubr2ep9/MKMTEV0M sIZKvw2l5xC2fCbdXe2ICrlYwr/RQROylrzke5hgcdbXSBm8yIDayqaCfHS9s4bZ/San1SFPb+ftj o6GNMhgg5/nVA0nFbgtt33Ilve6UaVofNdMgJcOEczZo0ahGxD0TcxnwUwmA2heO9EPhOry5wAAH1 /Ar/dp+lxhycBkR75RTp7A==; Original-Received: from [87.69.77.57] (port=4688 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvzjE-000816-QA; Tue, 31 May 2022 07:08:01 -0400 In-Reply-To: <6b1670d3-ae69-7f95-0e7d-d7cee0763c4a@rhansen.org> (message from Richard Hansen on Mon, 30 May 2022 12:53:31 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233424 Archived-At: > Cc: 55719@debbugs.gnu.org > Date: Mon, 30 May 2022 12:53:31 -0400 > From: Richard Hansen > > The attached series of patches should fix bug #55719 (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55719). Aren't those all due to the issue of including the terminating null byte in a packed string? And if so, I wonder whether indeed the null byte should be included, since that means you cannot handle strings that include null bytes as part of the payload, not as terminators. Can you tell why you are convinced the null byte should be considered as part of the string? Thanks.