The Dink Network

Reply to Re: GNU Freedink - New Maintainer

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 28th 2022, 05:58 AM
anon.gif
ghostknight
Ghost They/Them
 
it might be worth investigating the RTDink source to see how things are defined, as surprise surprise, nlist[10] is an int32 there.

There is still a bug, though, in the original source since in line 4013 it does

memset(g_nlist, 0, 10 * sizeof(int));


On a system where int is only 16 bit then int32 would probably would have been typedef'ed as long. In that case the memset would still only delete half the array.