pablo-lamtenzan / miniShell

Implementing (most of) Bash from scracth, supports term-caps, expansion, job control and conditionals.
0 stars 0 forks source link

Heap use after free in history cursor #40

Closed ClemaX closed 3 years ago

ClemaX commented 3 years ago

The term_new_line function seems to be faulty: It does not process empty lines, even when the cursor is not equal to the next line.