Overview
| Artifact ID: | f989c0f96d2c32184186ffef58976d65150ef041 |
|---|---|
| Ticket: | 534026d188f9c0c9f8c1cf883eb62c030aa6769f
interpreter initialization, auto_path, [info nameofexecutable], and symbolic links |
| User & Date: | pooryorick on 2016-12-16 02:51:09 |
Changes
- icomment:
Yes, the script hard-coded into Tcl_Init() is also fails to resolve symbolic links, and so has the same issue. Even though this issue has already been rejected, I'd like so summarize it: tclsh will potentially find a different set of libraries depending on which symbolic link it is invoked through. I argue that it's a bug that doesn't need to be TIP'ed, because on *nix systems it is common to create symbolic links for convenience, and it is not expected that simply creating a symbolic link to an executable will change the search path for dependencies. It's hard to imagine anyone legitimately relying on this behaviour. There are plenty of documented security vulnerabilities that arose from behaviour just like this.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- username: "pooryorick"