Raised This Month: $ Target: $400
 0% 

array larger then 2048 byte?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
brandy
New Member
Join Date: Sep 2004
Old 09-10-2004 , 10:22   array larger then 2048 byte?
Reply With Quote #1

I would like an messages box.

at the moment i use motd (show_motd)

new text[2048];
...
show_motd(id, text, "head");

but my text is larger then 2048 and i cant create an array larger 2048.

if i use new text[4096];
there is no error at compile time, but if i execute the comand i get error 4
(i think this is buffer overflow??)

how i can use show_motd with more than 2048 byte?

thx
brandy
brandy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode