Skip to content
Tcl Source Code Artifact [9f313465b7]
Login

Artifact [9f313465b7]

Artifact 9f313465b7764853abab3d674d08d62145882418097adcf4ada8b7d3e013d776:

Ticket change [9f313465b7] - Ticket [21b0629c81fbe38a|21b0629c81] <i>0-day vulnerability - insufficient escape by exec of batch-files for windows</i> status still Open with 3 other changes by sebres on 2023-11-16 16:04:07.
D 2023-11-16T16:04:07.571
J icomment I\smeant\sonly\srevert\sthe\sspecial\s%-escape\s(so\sbasically\smerge\sbranch\s"fix-fb2fa9b3f6--percent-subst-regr").\sBecause\sthe\srest\sof\s[21b0629c81]\sis\sfully\sjustified\sin\smy\sopinion,\sas\swell\sas\smore\sor\sless\sbackwards\scompatible\s(unless\sone\sdoesn't\stry\sto\ssimulate\sspecial\s"raw"\sinvocation\sby\sinject\sinto\sold\sescape\shandling\sin\sorder\sto\sget\ssome\sspecial\scommand\sline).\r\n\r\nBut\ssure,\sI\scan\sdo\sthat,\sonce\sI'd\sget\sthe\sfossil\sto\shand.\r\n\r\nRegarding\sthe\sdocumentation,\sone'd\sthen\sonly\sneed\sto\smeant\sthat\s%-chars\sare\snot\s(yet)\sspecially\sescaped,\sso\sby\sexecution\sof\scomspec/batch/cmd\swindows\swould\sreplace\s<code>%var%</code>\swith\senvironment\svariables,\sand\sthis\sway\sto\sbecome\ssafe\sit\scould\sexpect\sspecial\shandling\sby\sparameter\sescape,\sbecause\smay\sbecome\s"vulnerable"\sagainst\sdouble/triple\squotes\sin\swhole\scommand\sline.
J login sebres
J mimetype text/x-fossil-wiki
K 21b0629c81fbe38ad153cd8fd899626200a66e15
U sebres
Z aba83eaa7650faec1fdbb2b83f3da500