Bug 2190017

Summary: pygtk2: C99 incompatibilities due to pango internal function access (potential crashes on 64-bit)
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: pygtk2Assignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: alt-gtk-de-sig, gnome-sig, gwync, mclasen, rhughes, rstrode, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: pygtk2-2.24.0-40.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-26 20:04:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2141798    
Attachments:
Description Flags
pygtk2-c99.patch none

Description Florian Weimer 2023-04-26 19:49:39 UTC
The generated C code calls pango_font_metrics_new and pango_font_map_get_shape_engine_type, but these functions are no longer declared in the installed pango header files.

This looks like it could cause pointer truncation on 64-bit architectures and crashes.

Filing this here because upstream seems to have superseded this package with pygobject.

Reproducible: Always

Comment 1 Florian Weimer 2023-04-26 19:50:38 UTC
Created attachment 1960237 [details]
pygtk2-c99.patch