Missing exec Terminator Medium

The '-exec' option in the find command is not properly terminated with a semicolon (;) or a plus sign (+). This can lead to unexpected behavior, as the shell will interpret the subsequent commands as part of the '-exec' argument list, rather than as separate commands.

Detector ID
shell/missing-exec-terminator@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-