rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.51k stars 341 forks source link

Make `rz_line_readline_cb` pass `line` to `__move_cursor_left` instead of `NULL` #4544

Closed s1gse9v closed 2 weeks ago

s1gse9v commented 2 weeks ago

Closes #4543.

Your checklist for this pull request

Detailed description On pressing Ctrl+b, in rz_line_readline_cb:1629, NULL was passed to __move_cursor_left, which, unsurprisingly, led to a segfault. This is fixed by just passing line instead.

...

Test plan

I've run the CI on my fork and tests are all green. ...