Changes between Version 1 and Version 2 of Ticket #4627, comment 2
- Timestamp:
- 01/06/25 20:40:14 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4627, comment 2
v1 v2 3 3 In `help_back()`, this value causes an out-of-bounds access to the `history` array, thus placing random noise in `currentpoint` and `selected_item`, the former used subsequently by `help_bg_callback()` and passed to `help_show()`. 4 4 5 I guess the `for` loop should use `int i` as its counter, or reset `history_ptr = 0` afterwards. Pick whichever you prefer ;)5 I guess the `for` loop should use `int i` as its counter, or reset `history_ptr = 0` afterwards. I've verified both to fix the problem. Pick whichever you prefer ;)