diff options
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index edb58a05c..3eddb6f62 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -378,6 +378,8 @@ std::string InspSocket::GetIP() char* InspSocket::Read() { + if (Instance->SE->BoundsCheckFd(this)) + return NULL; #ifdef WINDOWS if ((fd < 0) || (m_internalFd > MAX_DESCRIPTORS)) #else |