Network: bug in accept function #221

Closed
opened 2025-04-20 15:03:39 +02:00 by Doczom · 2 comments
Owner

The function accept doesn't write data of sockaddr into a buffer.
A server doesn't get IP address and port of a client.

For example: module test_unit6.obj for simple-httpd and patch for core server:
httpd.patch
test_unit6.asm

The function `accept` doesn't write data of sockaddr into a buffer. A server doesn't get IP address and port of a client. For example: module test_unit6.obj for simple-httpd and patch for core server: [httpd.patch](/attachments/4dbc8ace-91c4-4cee-9223-996b87147737) [test_unit6.asm](/attachments/442c5913-6a66-4ff5-999d-71c1c283b3de)
Doczom added the
Category/General
Category/Kernel
FASM
Kind
Breaking
Priority
High
labels 2025-04-20 15:04:40 +02:00
Author
Owner

for fix this problem
accept_patch.patch

for fix this problem [accept_patch.patch](/attachments/4838ba65-6620-4500-b7d4-ae7fb2234b43)
Author
Owner

Решение проблемы предоставлено, кому надо сами примените исправление. Вопрос закрыт.

Решение проблемы предоставлено, кому надо сами примените исправление. Вопрос закрыт.
mxlgv added a new dependency 2025-05-05 18:07:47 +02:00
mxlgv removed a dependency 2025-05-05 18:13:44 +02:00
mxlgv closed this issue 2025-05-05 18:15:05 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#221
No description provided.