Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 26 2025, 9:59 PM
Unknown Object (File)
Nov 25 2025, 8:57 PM
Unknown Object (File)
Nov 13 2025, 7:53 AM
Unknown Object (File)
Nov 7 2025, 9:32 AM
Unknown Object (File)
Oct 29 2025, 5:53 AM
Unknown Object (File)
Oct 29 2025, 5:49 AM
Unknown Object (File)
Oct 29 2025, 5:48 AM
Unknown Object (File)
Oct 21 2025, 6:10 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