A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1726 ====================================================================== Reported By: Florian Weimer Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1726 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Florian Weimer Organization: Red Hat User Reference: swbz#178 Section: strlcat Page Number: 2133 Line Number: 69861 Final Accepted Text: ====================================================================== Date Submitted: 2023-05-10 06:29 UTC Last Modified: 2023-07-10 16:24 UTC ====================================================================== Summary: strlcat specification is ambiguous regarding return value ======================================================================
---------------------------------------------------------------------- (0006382) geoffclare (manager) - 2023-07-10 16:24 https://austingroupbugs.net/view.php?id=1726#c6382 ---------------------------------------------------------------------- Change:<blockquote>Upon successful completion, the <i>strlcat</i>() function shall return the initial length of the string pointed to by <i>dst</i> plus the length of the string pointed to by <i>src</i>.</blockquote>to:<blockquote>Upon successful completion, the <i>strlcat</i>() function shall return the initial length of the string (if any) pointed to by <i>dst</i>, as limited by <i>dstsize</i>, plus the length of the string pointed to by <i>src</i>; that is, the value that would be returned by <i>strnlen</i>(<i>dst, dstsize</i>) + <i>strlen</i>(<i>src</i>) before the <i>strlcat</i>() call.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2023-05-10 06:29 Florian Weimer New Issue 2023-05-10 06:29 Florian Weimer Name => Florian Weimer 2023-05-10 06:29 Florian Weimer Organization => Red Hat 2023-05-10 06:29 Florian Weimer User Reference => swbz#178 2023-05-10 06:29 Florian Weimer Section => strlcat 2023-05-10 06:29 Florian Weimer Page Number => unknown 2023-05-10 06:29 Florian Weimer Line Number => unknown 2023-05-10 06:30 Florian Weimer Note Added: 0006277 2023-05-10 06:31 Florian Weimer Issue Monitored: Florian Weimer 2023-05-23 14:01 geoffclare Project 1003.1(2013)/Issue7+TC1 => Issue 8 drafts 2023-05-23 14:03 geoffclare Page Number unknown => 2133 2023-05-23 14:03 geoffclare Line Number unknown => 69861 2023-05-23 14:03 geoffclare version => Draft 3 2023-07-10 16:24 geoffclare Note Added: 0006382 ======================================================================
