neurobin / shc

Shell script compiler
https://neurobin.org/projects/softwares/unix/shc/
GNU General Public License v3.0
2.04k stars 349 forks source link

Fix array overflow when outputting args to header #169

Open mdeweerd opened 3 months ago

mdeweerd commented 3 months ago

The loop over argv while outputting the arguments to the header was not bounded by argc.

The main issue was that the argements got encrypted.