Overview
| Artifact ID: | 0ee44b0692b6a618c948e1c3eb64354baa2438ca167c22b79d3785f39fe1cc0f |
|---|---|
| Ticket: | 3d978e0a84738b5c6a7bb1afc01aef962e9a25a4
`clock -timezone` escapes safe interp via `~` path (8.6.16+, same gap as [2f8bb48009]) |
| User & Date: | serhiy.storchaka on 2026-11-03 14:21:30 |
Changes
- icomment:
Reproduced on core-8-6-branch and 8.6.16, not on 8.6.15. Proposed fix in branch [/timeline?r=clock-unsafe-timezone-8-6|clock-unsafe-timezone-8-6]: both guards also reject a leading "~". Only a leading "~" matters: on 8.6 a "~" later in the path stays inside the data directory. 9.0 and later are not affected, since "~" is not expanded there, although adding "~" to the guards there would be harmless.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"