Incidencia #48302

getline() result not freed

Abrir Fecha: 2023-06-27 08:19 Última actualización: 2024-02-09 15:31

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

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
  • Hito Update from (Ninguno) to 3.0.9 (cerrado)
  • Componente Update from (Ninguno) to Server
2023-10-08 05:31 Updated by: cazfi
Comentario

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

Editar

Please login to add comment to this ticket » Entrar