1. bbs.setprompt(417, "This is the prompt"). This corrupts the memory
and shows a bunch of garbage to the screen, probably a memory pointer dump.
g00r00,
More on this issue:
If I do a
bbs.setprompt(417, "TestText")
then do a
p = bbs.getprompt(417)
bbs.writeln("Prompt: " + p)
It will write "TestText"
However, if I then prompt for a password which is invalid, which will
fire the prompt 417 text, here's the output:
[snip]
p: TestText
Password:****.......
TextTextt�Lm�����'l__S���Lm�
��i}>sh�wherex���Lm�
����
P��Lm�����X%X�� Tƨ��msg_delete`��Lm� [snip]
It then corrupts the memory and hangs me up.
A few times it's left ghosts and one time is said something to effect of "Unable to delete string"
So there is some sort of memory corruption here. Can you take a look? It's probably referencing the shared pointer value of the original string and
since the data size has changed, causing a memory overflow.
Linux x64, Mystic A44 2020/02/02
|20|15��|16|08� |08De|07ad|15be|07a|08tz b|07b|15s
|08����Ŀ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
|04� |08�|20|15�|16|08� |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
|04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |15.|04p|07HENOM|15. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04���|08�����|08:>.|11T|03qw |111337|08:|113|08/|1113|08.
--- Mystic BBS v1.12 A44 2020/02/02 (Linux/64)
* Origin: deadbeatz.org (21:2/123)