A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=243 ====================================================================== Reported By: dwheeler Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 243 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: Under Review Name: David A. Wheeler Organization: IDA User Reference: Section: find Page Number: 2740 Line Number: 89194 Interp Status: --- Final Accepted Text: https://austingroupbugs.net/view.php?id=243#c6100 ====================================================================== Date Submitted: 2010-04-29 19:23 UTC Last Modified: 2023-01-10 16:00 UTC ====================================================================== Summary: Add -print0 to "find" ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- has duplicate 0000244 Add -0 to xargs has duplicate 0000245 Add -0 option to shell's "read" has duplicate 0000903 Please, add find -print0, xargs -0, rea... ======================================================================
---------------------------------------------------------------------- (0006109) dwheeler (reporter) - 2023-01-10 16:00 https://austingroupbugs.net/view.php?id=243#c6109 ---------------------------------------------------------------------- First: My thanks to everyone for reconsidering and moving toward acceptance of this proposal! These changes will make it a little easier to write secure portable software. It's a fair point that trailing data without a terminating \0 could suggest partial data & thus perhaps should be ignored. However, while the current text *allows* addressing this, it doesn't *encourage* addressing this, so I don't think it encourages safe implementations. I have a minor suggestion: use IETF-like language to clarify this, to encourage "better" behavior. That is, change this: > If the standard input is not empty and does not end with a null byte, it is unspecified whether the trailing non-null bytes are ignored or are used as the last argument passed to utility. Into this: > If the standard input is not empty and does not end with a null byte, an implementation should ignore the trailing non-null bytes (as this can signal incomplete data) but may use them as the last argument passed to utility. Thanks! Issue History Date Modified Username Field Change ====================================================================== 2010-04-29 19:23 dwheeler New Issue 2010-04-29 19:23 dwheeler Status New => Under Review 2010-04-29 19:23 dwheeler Assigned To => ajosey 2010-04-29 19:23 dwheeler Name => David A. Wheeler 2010-04-29 19:23 dwheeler Organization => IDA 2010-04-29 19:23 dwheeler Section => find 2010-04-29 19:23 dwheeler Page Number => 2740 2010-04-29 19:23 dwheeler Line Number => 89194 2011-07-06 23:42 Don Cragun Relationship added related to 0000244 2011-07-06 23:42 Don Cragun Relationship added related to 0000245 2011-07-06 23:54 Don Cragun Note Added: 0000882 2011-11-16 18:22 dwheeler Note Added: 0001020 2015-03-12 16:15 Don Cragun Relationship added has duplicate 0000903 2022-12-08 15:39 geoffclare Note Added: 0006091 2022-12-08 15:40 geoffclare Note Edited: 0006091 2022-12-08 16:21 stephane Note Added: 0006092 2022-12-08 16:23 stephane Note Edited: 0006092 2022-12-08 16:32 stephane Note Added: 0006093 2022-12-08 17:02 stephane Note Edited: 0006093 2022-12-09 10:22 geoffclare Note Edited: 0006091 2022-12-09 10:30 geoffclare Note Edited: 0006091 2022-12-09 10:44 geoffclare Note Edited: 0006091 2022-12-09 10:50 geoffclare Note Added: 0006094 2022-12-09 11:21 geoffclare Note Edited: 0006091 2022-12-09 12:09 stephane Note Added: 0006095 2023-01-09 16:13 Don Cragun Relationship replaced has duplicate 0000244 2023-01-09 16:17 Don Cragun Relationship replaced has duplicate 0000245 2023-01-09 16:20 geoffclare Note Added: 0006100 2023-01-09 16:23 geoffclare Note Edited: 0006100 2023-01-09 16:24 geoffclare Note Edited: 0006100 2023-01-09 16:26 geoffclare Interp Status => --- 2023-01-09 16:26 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=243#c6100 2023-01-09 16:26 geoffclare Status Under Review => Resolved 2023-01-09 16:26 geoffclare Resolution Open => Accepted As Marked 2023-01-09 16:26 geoffclare Tag Attached: issue8 2023-01-09 17:07 geoffclare Note Edited: 0006100 2023-01-10 10:08 geoffclare Note Added: 0006105 2023-01-10 10:08 geoffclare Status Resolved => Under Review 2023-01-10 10:08 geoffclare Resolution Accepted As Marked => Reopened 2023-01-10 10:32 geoffclare Note Added: 0006106 2023-01-10 14:46 geoffclare Note Added: 0006107 2023-01-10 14:50 geoffclare Note Edited: 0006107 2023-01-10 15:55 geoffclare Note Edited: 0006107 2023-01-10 16:00 dwheeler Note Added: 0006108 2023-01-10 16:00 dwheeler Note Added: 0006109 ======================================================================
