You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calls to rm -rf and mkdir, such as in rm -rf $BUILD_TMPDIR and mkdir -p $INSTALLDIR are not properly quoted and therefore do not handle paths containing spaces. I would go so far as to consider this a security issue, as the generated script may end up force-deleting any directory on a user's system for which it has permission to do so.
This issue is most apparent on Windows systems, where paths containing spaces are commonplace.
The text was updated successfully, but these errors were encountered:
benjamin-branchware
changed the title
rules_foreign_cc should not depend on Bash
rules_foreign_cc should not depend on Bash (add native Windows support)
Mar 30, 2025
benjamin-branchware
changed the title
rules_foreign_cc should not depend on Bash (add native Windows support)
Calls to rm -rf and mkdir are improperly quoted
Mar 31, 2025
Uh oh!
There was an error while loading. Please reload this page.
Calls to
rm -rf
andmkdir
, such as inrm -rf $BUILD_TMPDIR
andmkdir -p $INSTALLDIR
are not properly quoted and therefore do not handle paths containing spaces. I would go so far as to consider this a security issue, as the generated script may end up force-deleting any directory on a user's system for which it has permission to do so.This issue is most apparent on Windows systems, where paths containing spaces are commonplace.
The text was updated successfully, but these errors were encountered: