egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gseen module

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
ap
Halfop


Joined: 09 Jun 2006
Posts: 44

PostPosted: Fri Jun 09, 2006 12:25 am    Post subject: gseen module Reply with quote

Hi,

gseen module is crashing if someone used a long quit message. Does any one know where in the code i can increase the size so it won't crash if user used the long quit message?

Thank you
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Jun 09, 2006 3:15 am    Post subject: Reply with quote

If you're using the dev module it would possibly be best to downgrade to the stable version although I have yet to experience this problem.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
ap
Halfop


Joined: 09 Jun 2006
Posts: 44

PostPosted: Fri Jun 09, 2006 6:21 pm    Post subject: Reply with quote

Alchera, thank you. where I can find the stable version? but any wild guess what code need to be changed?

update: I've tried the stable version too, same problem.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jun 12, 2006 9:23 pm    Post subject: Reply with quote

All I can suggest is you take a look at gseen.c; maybe you can work it out from there.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Tue Jun 13, 2006 4:14 am    Post subject: Reply with quote

I just took a look at the code, its everywhere a pointer and seems to get a proper size in:
newseen->msg = nmalloc(strlen(msg) + 1);

Do you have a core dump? A backtrace (gdb core eggdrop + bt) would be very helpfull ^-^.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber