Bug 71047

Summary: ABI break: size of pa_card_profile_info changed
Product: PulseAudio Reporter: Jan Alexander Steffens (heftig) <jan.steffens>
Component: clientsAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: blocker    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 65348    

Description Jan Alexander Steffens (heftig) 2013-10-30 12:38:36 UTC
b98a2e1 introduced a new field in pa_card_profile_info (src/pulse/introspect.h). On i686, this increases the size of the struct.

pa_card_info uses a simple array of pa_card_profile_infos. If the size of pa_card_profile_info changes, this array is read as garbage.

This crashes applications using pa_card_info, like gnome-control-center.
Comment 2 Tanu Kaskinen 2013-11-06 18:21:53 UTC
I checked the doxygen output, and the \deprecated tags didn't work as expected. Instead of generating some red "WARNING, THIS IS DEPRECATED" text, the tags just removed all documentation for the marked fields.

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.