AGavali353180 (Community Member) asked a question.

Stack-based Buffer Overflow (CWE ID 121) at accept function line:
sockaddr_in clientAddr={};
socklen_t clientAddrLen (sizeof(clientAddr) );
int newFd = ::accept(fd_,reinterpret_cast<sockaddr*>(&clientAddr), &clientAddrLen); //Stack-based Buffer

Looking for the solution for this Stack-based Buffer.


  • Hi,

     

    I would recommend you contact our technical support team. Here's how you can log a case:

    1. Navigate to the upper right corner of any page in the Community, click on your user avatar.

    2. Select Contact Support from the drop-down menu.

     

    Please include a link to the Veracode Platform ( https://analysiscenter.veracode.com ) where the flaws can be found and the flaw id.

     

    Thank you,

    Boy Baukema

    Expand Post

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.