Menu

#56 Builtin NickServ authentification broken

All Versions
open
nobody
None
5
2001-05-07
2001-05-07
Anonymous
No

I'm not a very good programmer, but I think I found a
bug with the /nick NICK PASSWORD command. It's used by
JPilot to give the password for the nick. It seems
broken.

This line in s_user.c don't seem quite right... is it a
typo ? (or am I going to crash my IRCd ??? ;o))

if ((parc > 2) && (strlen(parv[2]) <
sizeof(sptr->passwd)))

sizeof(sptr->passwd) ??? I don't understand what it
means, perhaps a bug ? However, I just changed it to:

if ((parc > 2) && (strlen(parv[2]) =< PASSWDLEN))

And now my JPilot Java Applet works great !

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.