[pulseaudio-tickets] [Bug 89537] New: Make the pa_parse_address() interface less error prone
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 11 09:54:30 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89537
Bug ID: 89537
Summary: Make the pa_parse_address() interface less error prone
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: core
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: tanuk at iki.fi
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
pa_parse_address() takes a pa_parsed_address struct pointer as a parameter, and
fills it with data. The pa_parsed_address.path_or_host field is a dynamically
allocated string, and it's very easy to forget to free that string after
calling pa_parse_address(). The pa_parse_address() interface should be changed
so that it's less easy to leak memory.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150311/820e0969/attachment.html>
More information about the pulseaudio-bugs
mailing list