Skip to content
Tcl Source Code Artifact [afd830068b]
Login

Artifact [afd830068b]

Artifact afd830068b98374cd5ff7dd79e9059372dec75b325f66baa52056039df739a50:

Ticket change [afd830068b] - New ticket [122bd5d842561d73|122bd5d842] <i>Inappropriate use of -join by AliasGlob</i>. by kjnash on 2020-07-15 17:24:30.
D 2020-07-15T17:24:30.620
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment If\sAliasGlob\sis\scalled\swith\sargument\s"-join",\sit\swill\sjoin\sthe\spattern\sarguments\sbefore\spassing\sthem\sto\sthe\sslave's\shidden\s"glob"\scommand;\sbut\sif\sthe\sresult\sis\s"*/pkgIndex.tcl",\sthere\sis\san\sintermediate\sstep\sin\swhich\sAliasGlob\sexpands\s"*/pkgIndex.tcl"\sby\scalling\s"glob"\sin\sthe\smaster\sinterpreter,\sbefore\spassing\sthe\sresult\sto\sthe\sslave.\r\n\r\nThe\sbug\sis\sthat\sAliasGlob\spasses\sthe\s"-join"\soption\sto\sthe\sslave's\s"glob",\swhich\sjoins\sthe\spathnames\sthat\sit\sis\spassed:\sif\sthere\sis\smore\sthan\sone\ssuch\spathname,\sthe\sresult\sis\sa\snonsense\spattern\sand\stherefore\s"no\smatch".\r\n\r\nThere\sis\snever\sany\sreason\sto\spass\sthe\sargument\s"-join"\sto\sthe\sslave's\s"glob"\s-\sthe\sjoin\sis\salways\sdone\sin\sthe\smaster\sinterpreter.\r\n\r\nFixed\sin\sbranch\ssafe-bugfixes-8-6\scommit\s1de9e63266.\s\sAlso\sa\snew\stest\ssafe-13.7a\sthat\sAliasGlob\sinterprets\sthe\spkgIndex.tcl\ssearch\scorrectly.
J foundin core-8-6-branch
J is_private 0
J login kjnash
J priority 5\sMedium
J private_contact a774b1f5653dc3360e29ea7d635a64e94c9f1dab
J resolution None
J severity Important
J status Open
J submitter kjnash
J subsystem 33.\sSafe\sBase
J title Inappropriate\suse\sof\s-join\sby\sAliasGlob
J type Bug
K 122bd5d842561d7306e54f987f27e238d42655ce
U kjnash
Z 833b97dac03a621f44ffb3abadaf0fa3