krn/sockets: incorrect installation of localIP for IP=0.0.0.0 #592

Open
opened 2026-07-21 18:16:16 +00:00 by Doczom · 0 comments
Owner

in socket_listen, for a socket with IP=0.0.0.0, the IP of the first "physical" network card is set (excluding the loopback network driver)

        cmp     [eax + IP_SOCKET.LocalIP], 0
        jne     @f
        push    [IPv4_address + 4]           ;;; fixme!!!!
        pop     [eax + IP_SOCKET.LocalIP]
       @@:
in socket_listen, for a socket with IP=0.0.0.0, the IP of the first "physical" network card is set (excluding the loopback network driver) ``` cmp [eax + IP_SOCKET.LocalIP], 0 jne @f push [IPv4_address + 4] ;;; fixme!!!! pop [eax + IP_SOCKET.LocalIP] @@: ```
Doczom added the
Category
Kernel
Priority
Medium
3
Lang/FASM
Kind
Bug
Subsystem/Network
labels 2026-07-21 18:16:16 +00:00
hidnplayr self-assigned this 2026-07-25 18:50:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#592