Skip to content

m_threadPoolRefCount可能栈溢出 #10

@liubotao

Description

@liubotao

在redisproxy.cpp 318行中

EventLoopThread* loopThread = m_eventLoopThreadPool->thread(m_threadPoolRefCount % threadCount);
++m_threadPoolRefCount;

m_threadPoolRefCount初始化为 unsigned int m_threadPoolRefCount; 如果大量的请求将会导致m_threadPoolRefCount超过unsigned int的最大值从而导致值异常程序崩溃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions