Subject: Re: Bug #778956: dash: doesn't sanitize local variables

From: Gioele Barabucci <[email-masked]>
Date: Thu, 19 Nov 2015 00:11:37 +0100

Control: reassign -1 dash
Control: tags -1 upstream
Control: found -1 0.5.7-4

Hi,

to make future triaging easier I am copying here the testcase described 
in the original bug, slightly modified.

     $ cat testme.sh
     testme() {
        x=oldvalue
        local x
        echo "<$x>"
     }
     testme

     $ bash testme.sh
     <>
     $ dash testme.sh
     <oldvalue>

Cheers,

-- 
Gioele Barabucci <[email-masked]>