HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in FreeRDP and other products, has a memory leak because a supplied realloc pointer (i.e., the first argument to realloc) is also used for a realloc return value.
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Freerdp | Freerdp | * | 1.0.2 (including) |
Freerdp | Freerdp | 1.1.0-beta1 (including) | 1.1.0-beta1 (including) |
Freerdp | Ubuntu | bionic | * |
Freerdp | Ubuntu | trusty | * |
Freerdp | Ubuntu | xenial | * |
Freerdp2 | Ubuntu | trusty | * |
Freerdp2 | Ubuntu | upstream | * |