Displaying 2 results from an estimated 2 matches for "r_promptstring".
2019 Apr 18
1
R prompt updates are not validated
...options(prompt = big)
Running R with gdb and interrupting to get backtraces shows that 'pushReadLine' in 'unix/sys-std.c' results in a chain of libreadline calls, including, in my case at least, UTF-8 and a lot of __strlen_avx2 activity. 'R_PromptString' in 'main.c' should check prompt is a reasonable length, as well as a check when setting the prompt in 'options.c'. This may be a readline bug, too? I watched it do nothing for a while, it didn't seem to accumulate much or any new memory while watching 'top', but did...
2002 Aug 14
0
source() crashes on long lines (PR#1900)
...ist
# 0047F5E2 R.DLL:0047F5E2 Rf_eval
# 00481065 R.DLL:00481065 do_set
# 0047F494 R.DLL:0047F494 Rf_eval
# 00480808 R.DLL:00480808 do_begin
# 0047F494 R.DLL:0047F494 Rf_eval
# 0047FAA6 R.DLL:0047FAA6 Rf_applyClosure
# 0047F6DD R.DLL:0047F6DD Rf_eval
# 0049D325 R.DLL:0049D325 R_PromptString
# 0049DC74 R.DLL:0049DC74 run_Rmainloop
# 0049DC8C R.DLL:0049DC8C Rf_mainloop
# 0040153D RTERM.EXE:0040153D
# 0040139C RTERM.EXE:0040139C
# 0040166D RTERM.EXE:0040166D
# 004010F4 RTERM.EXE:004010F4
# 004011EF RTERM.EXE:004011EF
# BFF7B9E4 KERNEL32.DLL:BFF7B9E4 IsDBCSLeadByte
# B...