Jump to content
Sign in to follow this  
Wiki98

socket overflow buffer delete (help)

Recommended Posts

Wiki98

Hi

Topic : socked-system-overflow

language : AutoitScpirt Code Request

program explosion : socket overflow buffer Error !

memory with program connect And Socket overflow buffer Delete Request

Is there anyone that can help ?

Thank You !

C++ Sample Code

in iocport.cpp

void CIOCPort::DeleteAllArray()
{
     for( int i=0; i<m_SocketArraySize; i++ ) {
             if ( m_SockArray[i] != NULL ) {
                     delete m_SockArray[i];
                     m_SockArray[i] = NULL;
             }
     }
     delete[] m_SockArray;
     for ( i=0; i < m_SocketArraySize; i++ ) {
             if ( m_SockArrayInActive[i] != NULL ) {
                     delete m_SockArrayInActive[i];
                     m_SockArrayInActive[i] = NULL;
             }
     }
     delete[] m_SockArrayInActive;
     for ( i=0; i < m_ClientSockSize; i++ ) {
             if ( m_ClientSockArray[i] != NULL ) {
                     delete m_ClientSockArray[i]; //Socket system overflow
                     m_ClientSockArray[i] = NULL;
             }
     }
     delete[] m_ClientSockArray;
     while( !m_SidList.empty() )
             m_SidList.pop_back();
}

in IOCPSocket2.h

BYTE GetState() {return m_State;}; //socket system overflow

Share this post


Link to post
Share on other sites
JohnOne

Hi

Topic : socked-system-overflow

language : AutoitScpirt Code Request

program explosion : socket overflow buffer Error !

memory with program connect And Socket overflow buffer Delete Request

Is there anyone that can help ?

Thank You !

C++ Sample Code

in iocport.cpp

void CIOCPort::DeleteAllArray()
{
     for( int i=0; i<m_SocketArraySize; i++ ) {
             if ( m_SockArray[i] != NULL ) {
                     delete m_SockArray[i];
                     m_SockArray[i] = NULL;
             }
     }
     delete[] m_SockArray;
     for ( i=0; i < m_SocketArraySize; i++ ) {
             if ( m_SockArrayInActive[i] != NULL ) {
                     delete m_SockArrayInActive[i];
                     m_SockArrayInActive[i] = NULL;
             }
     }
     delete[] m_SockArrayInActive;
     for ( i=0; i < m_ClientSockSize; i++ ) {
             if ( m_ClientSockArray[i] != NULL ) {
                     delete m_ClientSockArray[i]; //Socket system overflow
                     m_ClientSockArray[i] = NULL;
             }
     }
     delete[] m_ClientSockArray;
     while( !m_SidList.empty() )
             m_SidList.pop_back();
}

in IOCPSocket2.h

BYTE GetState() {return m_State;}; //socket system overflow

I can help you, but you might not like it.

Here's my advice, put the crack pipe away, go to sleep for a day, and come back

with a comprehensible autoit question.

  • Like 1

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
Bert

I have several problems with this post.

Why is the code posted in C++ instead of AutoIt? Was it decompiled?

I would like to know what app the AutoIt script is being used with. (I think I know the answer but I wish to give the poster the benefit of the doubt)

Share this post


Link to post
Share on other sites
trancexx

If you want to report this shit that's fine, you do that and move along. When some of the people with job to keep this place clean would be around, they will handle it.

Posting meaningles posts at the same time serving no purpose is lame.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Valik

This user should be blocked, I've explicitly blocked the ISP. Blocking the IP addresses this user uses since it's almost certainly the same idiot that necessitated the ISP ban in the first place.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×