Siteshwar Vashisht
2017-01-04 12:35:26 UTC
Hello,
There is a bug in print_scan() function that may cause ksh to crash while listing indexed arrays.
A[0]="'"
B[0]=aa
C[0]=aa
typeset -a
Attached patch fixes this crash.
There is a bug in print_scan() function that may cause ksh to crash while listing indexed arrays.
cat typeset_a.sh
#!/bin/kshA[0]="'"
B[0]=aa
C[0]=aa
typeset -a
ksh typeset_a.sh
Segmentation fault (core dumped)Attached patch fixes this crash.
--
--
Siteshwar Vashisht
--
Siteshwar Vashisht