nktr-cp / webserv

Implementation of a simple HTTP server in C++
3 stars 0 forks source link

default.conf crash #25

Closed Wolframike closed 2 months ago

Wolframike commented 2 months ago
==71389==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60d000000100 at pc 0x0001038f6ca5 bp 0x7ff7bc671d70 sp 0x7ff7bc671d68
WRITE of size 4 at 0x60d000000100 thread T0
    #0 0x1038f6ca4 in Server::createSocket()+0x1b4 (webserv:x86_64+0x100069ca4)
    #1 0x10389a2e6 in Webserv::createServerSockets()+0x116 (webserv:x86_64+0x10000d2e6)
    #2 0x10389a53c in Webserv::run()+0x12c (webserv:x86_64+0x10000d53c)
    #3 0x10388e5ac in main+0x4cc (webserv:x86_64+0x1000015ac)
    #4 0x7ff802278365 in start+0x795 (dyld:x86_64+0xfffffffffff5c365)