complex substitutions inside complex substitutions (both using ADELIM) read past allocated memory
Bug #1453827 reported by
Thorsten Glaser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mksh |
Fix Released
|
Critical
|
Thorsten Glaser |
Bug Description
Reproducer:
valgrind --track-origins=yes --leak-check=no b/mksh -c 'foo=${
This seems to be a nesting problem. A closing ADELIM omits the CSUBST, which also irritates wdscan (which seems flakey anyway), which is what the substitution uses.
Workaround: use temporary variables.
Changed in mksh: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in mksh: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Committed revision 1005698219A4D72 938C.