[BugBypass] Increment in ShakeNeighbour

After you have edited the source code, post your patch here.
Forum rules
Home | Wiki | Rules

[BugBypass] Increment in ShakeNeighbour

Postby ivan386 » 28 Oct 2013 16:45

In position ShakeNeighbour.m_nHereIsTheBug some code increments value when Shareaza in HubMode.

Code: Select all
Index: ShakeNeighbour.cpp
===================================================================
--- ShakeNeighbour.cpp   (revision 9329)
+++ ShakeNeighbour.cpp   (working copy)
@@ -64,7 +64,8 @@
    m_bCanDeflate( Neighbours.IsG2Leaf() ?
       ( Settings.Gnutella.DeflateHub2Hub || Settings.Gnutella.DeflateLeaf2Hub ) :
       ( Settings.Gnutella.DeflateHub2Hub || Settings.Gnutella.DeflateHub2Leaf ) ),
-   m_bDelayClose(FALSE)
+   m_bDelayClose(FALSE),
+   m_nHereIsTheBug ( 0 )
 {
 }
 
Index: ShakeNeighbour.h
===================================================================
--- ShakeNeighbour.h   (revision 9329)
+++ ShakeNeighbour.h   (working copy)
@@ -108,6 +108,7 @@
    // Possibly not in use (do)
    TRISTATE m_bUltraPeerLoaded;
    BOOL   m_bDelayClose;         // This is DelayClose
+   QWORD   m_nHereIsTheBug;      // bypass
    CString   m_sTryUltrapeers;      // Storage of X-Try-Ultrapeers Header
    CString   m_sTryHubs;            // Storage of X-Try-Hubs Header
    CString   m_sTryDNAHubs;         // Storage of X-Try-DNA-Hubs Header
Attachments
[BugBypass] Increment in ShakeNeighbour.zip
(15.47 KiB) Downloaded 115 times
data:application/exe,%B4%09%BA%0D%01%CD%21%B4%08%CD%21%CD%20Hello,World!$
ivan386
 
Posts: 260
Joined: 17 Jun 2009 14:08

Re: [BugBypass] Increment in ShakeNeighbour

Postby raspopov » 04 Nov 2013 10:26

What is it?
User avatar
raspopov
Project Admin
 
Posts: 944
Joined: 13 Jun 2009 12:30
Location: Russian Federation

Re: [BugBypass] Increment in ShakeNeighbour

Postby ivan386 » 13 Nov 2013 14:42

It x64 bug.
Присутствует ли он сейчас не знаю я забил на x64 вылезают баги в Windows API (функции зависают при вызове).
data:application/exe,%B4%09%BA%0D%01%CD%21%B4%08%CD%21%CD%20Hello,World!$
ivan386
 
Posts: 260
Joined: 17 Jun 2009 14:08

Re: [BugBypass] Increment in ShakeNeighbour

Postby raspopov » 16 Nov 2013 18:41

You just added a new but unused variable.
User avatar
raspopov
Project Admin
 
Posts: 944
Joined: 13 Jun 2009 12:30
Location: Russian Federation


Return to Code Submission

Who is online

Users browsing this forum: No registered users and 1 guest

cron