Memory Leaks #231

Closed
opened 2026-01-29 16:38:35 +00:00 by claunia · 0 comments
Owner

Originally created by @sidgairo18 on GitHub (Jan 11, 2017).

  1. Overwriting desp in desp = (unsigned char *)malloc(desp_length) leaks the storage that desp points to. (File lib_ccx/myth.c , functionmyth_loop())
  2. leaked_storage: Variable cliaddr going out of scope leaks the storage it points to. File src/networking.c in function start_tcp_srv()
  3. leaked_storage: Variable pbuf going out of scope leaks the storage it points to. File src/lib_ccx/spupng_encoder.c function int write_cc_bitmap_as_spupng()
  4. leaked_storage: Variable data going out of scope leaks the storage it points to. File src/lib_ccx/general_loop.c in function raw_loop()
Originally created by @sidgairo18 on GitHub (Jan 11, 2017). 1. Overwriting desp in desp = (unsigned char *)malloc(desp_length) leaks the storage that desp points to. (File lib_ccx/myth.c , function` myth_loop() `) 2. leaked_storage: Variable `cliaddr` going out of scope leaks the storage it points to. File src/networking.c in function `start_tcp_srv()` 3. leaked_storage: Variable `pbuf` going out of scope leaks the storage it points to. File src/lib_ccx/spupng_encoder.c function `int write_cc_bitmap_as_spupng()` 4. leaked_storage: Variable `data` going out of scope leaks the storage it points to. File src/lib_ccx/general_loop.c in function `raw_loop()`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#231