Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
35 user(s) are online (21 user(s) are browsing Forums)

Members: 1
Guests: 34

Raziel, more...

Headlines

Report message:*
 

Re: Horny Source code on Github

Subject: Re: Horny Source code on Github
by kas1e on 2020/1/28 7:50:04

@mr2
Crash happens the same? I mean the same way to reproduce? It's again strncpy with null-pointer, just in another place:

IChooser->GetChooserNodeAttrs(nodeCNA_Text, &textTAG_DONE);
                
IIntuition->GetAttr(LISTBROWSER_Selected, (Object *)setgad[GAD_OPLIST], (uint32 *)&var);
                
strncpy(outport[var].nametext128); AktualisiereOutPortListe();
                break;


Crashes on "strncpy" line.

Should be probably changed on:

Quote:

if(text) snprintf(outport[var].name,sizeof(outport[var].name), "%s", text);
AktualisiereOutPortListe();


There is new version with that change:

http://kas1e.mikendezign.com/aos4/horny/Horny_test3.zip

Try it plz.



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project