cling/lib/UserInterface
Enrico Guiraud 9969d52ace Do not segfault when root_hist has zero lines
Pressing ctrl-r when no ~/.root_hist file is present or possibly
when it contains 0 lines used to cause a segfault. The culprit
if an out-of-bound access in History::GetLine, as the case in which
the history has zero entries was not taken into account.

With this patch, Histoy::GetLine returns an empty string instead.
This fixes ROOT-10917.

Co-authored-by: Axel Naumann <Axel.Naumann@cern.ch>
2020-08-18 16:09:42 +02:00
..
textinput Do not segfault when root_hist has zero lines 2020-08-18 16:09:42 +02:00
CMakeLists.txt Remove the -DUNICODE and -D_UNICODE definitions on Windows 2019-07-22 11:14:11 +02:00
UserInterface.cpp Remove redundant include. 2018-02-20 13:44:05 +01:00