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)
Fri, May 31, 9:17 AM
Unknown Object (File)
Jan 2 2024, 4:16 PM
Unknown Object (File)
Dec 24 2023, 4:13 PM
Unknown Object (File)
Dec 22 2023, 11:36 PM
Unknown Object (File)
Nov 2 2023, 5:06 AM
Unknown Object (File)
Jun 14 2023, 2:29 PM
Unknown Object (File)
May 24 2023, 3:53 AM
Unknown Object (File)
May 2 2023, 6:46 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