Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
F102618914: D39583.diff
Thu, Nov 14, 9:41 PM
Unknown Object (File)
Sat, Nov 2, 7:54 AM
Unknown Object (File)
Mon, Oct 21, 10:44 PM
Unknown Object (File)
Thu, Oct 17, 3:32 AM
Unknown Object (File)
Oct 10 2024, 8:03 AM
Unknown Object (File)
Oct 2 2024, 9:06 PM
Unknown Object (File)
Sep 22 2024, 9:16 PM
Unknown Object (File)
Sep 22 2024, 8:45 AM
Subscribers

Details

Summary

PR: 270867

4aeb63826e0f got it almost correct (we can't use strcmp() here as
current argument isn't guaranteed to be NUL-terminated), but we also
need to check that current argument length is equal to that of eofstr.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable