xlar54 / ultimateii-dos-lib

cc65 library for accessing the DOS and network functions of the Ultimate II+ cartridge and Ultimate 64 motherboard
GNU General Public License v3.0
60 stars 13 forks source link

ultimate_lib - use of malloc without free #46

Closed SchwedOS closed 4 years ago

SchwedOS commented 4 years ago

Issue: Some functions using malloc but do not free heap before return:

uii_write_file uii_tcpsocketwrite_convert_parameter uii_tcpconnect

Effect: heap overflow when using these functions frequently - crash of program

sblendorio commented 4 years ago

thanks, fixed with 85a6224f8b4f115aa5bcfd23a99d586f1ac84628

SchwedOS commented 4 years ago

Thanks für the update. JoergVon meinem Huawei-Telefon gesendet-------- Ursprüngliche Nachricht --------Von: Francesco Sblendorio notifications@github.comDatum: So., 10. Mai 2020, 11:52An: xlar54/ultimateii-dos-lib ultimateii-dos-lib@noreply.github.comCc: SchwedOS kermitderfrosch72@arcor.de, Author author@noreply.github.comBetreff: Re: [xlar54/ultimateii-dos-lib] ultimate_lib - use of malloc without free (#46) thanks, fixed with 85a6224

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.