Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
F132317670: D39583.diff
Wed, Oct 15, 8:26 PM
Unknown Object (File)
Sat, Oct 4, 6:23 AM
Unknown Object (File)
Thu, Sep 18, 11:26 AM
Unknown Object (File)
Sep 3 2025, 4:42 AM
Unknown Object (File)
Aug 30 2025, 9:41 AM
Unknown Object (File)
Aug 15 2025, 10:21 PM
Unknown Object (File)
Aug 9 2025, 9:08 AM
Unknown Object (File)
Jul 31 2025, 12:55 PM
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