Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
F87218956: D39583.id120362.diff
Sun, Jun 30, 10:18 AM
F87217918: D39583.id120509.diff
Sun, Jun 30, 9:59 AM
Unknown Object (File)
Fri, Jun 28, 12:18 AM
Unknown Object (File)
May 31 2024, 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
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