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.

gseen module

Discussion of Eggdrop's code and module programming in C.
Post Reply
a
ap
Halfop
Posts: 44
Joined: Fri Jun 09, 2006 12:20 am

gseen module

Post by ap »

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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
a
ap
Halfop
Posts: 44
Joined: Fri Jun 09, 2006 12:20 am

Post by ap »

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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
Post Reply