Package: libicns-dev
Version: 0.8.1.83.g921f972-0.1+b3
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

The icns_import_family_data function calls malloc() to create iconFamilyData,
but then if icns_import_family_data() fails it returns without freeing that
memory.
A one line change 'free(iconFamilyData);' immediately after the failed call
will fix it.


-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.4+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libicns-dev depends on:
ii  libicns1  0.8.1.83.g921f972-0.1+b3

libicns-dev recommends no packages.

libicns-dev suggests no packages.

-- no debconf information

Reply via email to