待辦事項 #48302

getline() result not freed

啟用日期: 2023-06-27 08:19 最後更新: 2024-02-09 15:31

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

S3_2 autogame, readline disabled (just because it spams with so many memory leak warnings):

==1536407== 120 bytes in 1 blocks are still reachable in loss record 11 of 13
==1536407==    at 0x48407B4: malloc (vg_replace_malloc.c:381)
==1536407==    by 0x5018B3E: getdelim (iogetdelim.c:62)
==1536407==    by 0x22362E: getline (stdio.h:120)
==1536407==    by 0x22362E: server_sniff_all_input (sernet.c:855)
==1536407==    by 0x15E9D4: srv_main (srv_main.c:3532)
==1536407==    by 0x153F7D: main (civserver.c:388)

Ticket History (3/5 Histories)

2023-06-27 08:19 Updated by: cazfi
  • New Ticket "getline() result not freed" created
2023-08-30 11:39 Updated by: cazfi
  • 里程碑 Update from (無) to 3.0.9 (closed)
  • 元件 Update from (無) to Server
2023-10-08 05:31 Updated by: cazfi
評語

Not sure if this has already been fixed as a side effect of recent sernet.c changes.

2023-11-10 14:24 Updated by: cazfi
2024-02-09 15:31 Updated by: cazfi

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入