Bug 89537 - Make the pa_parse_address() interface less error prone
Summary: Make the pa_parse_address() interface less error prone
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords: love
Depends on:
Blocks:
 
Reported: 2015-03-11 16:54 UTC by Tanu Kaskinen
Modified: 2018-07-30 09:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tanu Kaskinen 2015-03-11 16:54:30 UTC
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.
Comment 1 GitLab Migration User 2018-07-30 09:33:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/9.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.