Bug 2190017 - pygtk2: C99 incompatibilities due to pango internal function access (potential crashes on 64-bit)
Summary: pygtk2: C99 incompatibilities due to pango internal function access (potentia...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pygtk2
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-04-26 19:49 UTC by Florian Weimer
Modified: 2023-04-26 20:04 UTC (History)
7 users (show)

Fixed In Version: pygtk2-2.24.0-40.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-26 20:04:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pygtk2-c99.patch (555 bytes, patch)
2023-04-26 19:50 UTC, Florian Weimer
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.