Jump to content
Sign in to follow this  
tierrilopes

[Proteção] Cube Long_List

Recommended Posts

Nome: vulnerabilidade cube long_list

 

Afeta: todos os cores

 

Sintomas: servidor vai abaixo, volta atrás no tempo

 

Resolução: Abrir o ficheiro cube.cpp;

 

Procurar por:

 

if (resultText.size() - 20 >= CHAT_MAX_LEN)

{

sys_err("[CubeInfo] Too long cube result list text. (NPC: %d, length: %d)", npcVNUM, resultText.size());

resultText.clear();

resultCount = 0;

}

 

Substituir por:

Please login or register to see this code.

  • Upvote 5

Share this post


Link to post
Share on other sites

Não tinha conhecimento disto, mas sempre se aprende Please login or register to see this image. /uploads/emoticons/xenforo-smilies-sprite.png.d52266e1d31fd9da7be965ffac67adac.png">

Corrigido já na minha source, obrigado e +1

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.