Page 1 of 1

fix of 3th dec.

Posted: Sat Dec 03, 2016 1:26 pm
by TaTHaR
Hello,

I did this:
Open src/modules/m_nick.c in an editor. Around line 478 change:
(void)strlcpy(sptr->name, nick, NICKLEN);
To:
(void)strlcpy(sptr->name, nick, NICKLEN+1);
Then save, recompile and rehash your UnrealIRCd.
This is exactly the same as the patch script would do.
My question is, wich steps do I have to do to recompile? And are these steps to be done in folder Unrealircd?

Bet regards, Herman.

Re: fix of 3th dec.

Posted: Sat Dec 03, 2016 2:07 pm
by Syzop
If you wonder about this then you probably should be using the "easy option" instead ;)

Code: Select all

wget http://www.unrealircd.org/patch/ghostpatcher && sh ghostpatcher
Anyway, to answer your question: run 'make' and 'make install' from your unrealircd-4.0.X directory.

Then rehash.

Re: fix of 3th dec.

Posted: Sat Dec 03, 2016 2:29 pm
by TaTHaR
Hello Syzop,

Thanx for your verry quick reply.
I tried the "easy option" before I wrote the topic but it didn't work for me. When I gave the path to unreal it says this is a directory. But now with recompile its fixed. Thanks a lot.

Best regards, Herman.