hush: fix SEGV in % expansion

function                                             old     new   delta
expand_variables                                    2203    2217     +14

6 files changed