This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Discussion of Eggdrop's code and module programming in C.
ap
Halfop
Posts: 44 Joined: Fri Jun 09, 2006 12:20 am
Post
by ap » Fri Jun 09, 2006 12:25 am
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
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Fri Jun 09, 2006 3:15 am
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
ap
Halfop
Posts: 44 Joined: Fri Jun 09, 2006 12:20 am
Post
by ap » Fri Jun 09, 2006 6:21 pm
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.
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Mon Jun 12, 2006 9:23 pm
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
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Tue Jun 13, 2006 4:14 am
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...