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
{{ message }}
Repository navigation
Prevent std imports from escaping the standard-library root #644
front/parser/src/import.rs confines local imports to their canonical module directory and external imports to their canonical dependency package root. std_import_unit, however, converts the text after std:: with replace("::", "/"), joins it to the std root, checks only that the resulting path is a file, and then parses the canonicalized target.
That leaves std imports without the equivalent containment check. Traversal components or a symlink inside the installed std tree can resolve to a .wave file outside the standard-library root.
Activity
Fix frontend contracts and native regression tests (#723)