Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
F108432695: D39583.id120509.diff
Fri, Jan 24, 5:43 PM
Unknown Object (File)
Thu, Jan 23, 6:34 PM
Unknown Object (File)
Sun, Jan 12, 6:51 PM
Unknown Object (File)
Dec 1 2024, 11:48 PM
Unknown Object (File)
Dec 1 2024, 11:48 PM
Unknown Object (File)
Dec 1 2024, 11:47 PM
Unknown Object (File)
Dec 1 2024, 11:24 PM
Unknown Object (File)
Nov 15 2024, 2:01 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