Jump to content
×
×
  • Create New...
  • 0

Game crash / desc.cpp: No such file or directory.


Viax

Question

my server error 40k help me please;

On 22.07.2016 at 0:40 AM, DeYaN. said:

I need some help here ... this error crash my core, for about 2 days ago , without any modification at source from 1 mounths, and i say wtf, this is a new exploit ?

 

  Hide contents

Untitled.jpg

 

At line 421 in desc.cpp is  function :

  Reveal hidden contents

void DESC::Packet(const void * c_pvData, int iSize)
{
    assert(iSize > 0);

    if (m_iPhase == PHASE_CLOSE) // 끊는 상태면 보내지 않는다.
        return;

    if (m_stRelayName.length() != 0)
    {
        // Relay 패킷은 암호화하지 않는다.
        TPacketGGRelay p;

        p.bHeader = HEADER_GG_RELAY;
        strlcpy(p.szName, m_stRelayName.c_str(), sizeof(p.szName));
        p.lSize = iSize;

        if (!packet_encode(m_lpOutputBuffer, &p, sizeof(p)))
        {
            m_iPhase = PHASE_CLOSE;
            return;
        }

        m_stRelayName.clear();

        if (!packet_encode(m_lpOutputBuffer, c_pvData, iSize))
        {
            m_iPhase = PHASE_CLOSE;
            return;
        }
    }
    else
    {
        if (m_lpBufferedOutputBuffer)
        {
            buffer_write(m_lpBufferedOutputBuffer, c_pvData, iSize);

            c_pvData = buffer_read_peek(m_lpBufferedOutputBuffer);
            iSize = buffer_size(m_lpBufferedOutputBuffer);
        }

        // TRAFFIC_PROFILE
        if (g_bTrafficProfileOn)
            TrafficProfiler::instance().Report(TrafficProfiler::IODIR_OUTPUT, *(BYTE *) c_pvData, iSize);
        // END_OF_TRAFFIC_PROFILER

 

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.