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.
Link | Tags |
---|---|
https://github.com/FreeRDP/FreeRDP/issues/5645 | third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00004.html | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00005.html | third party advisory vendor advisory |
https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29a | patch vendor advisory |