glXGetProcAddress implicitly converted to pointer

Bug #402177 reported by LaMont Jones
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpac (Ubuntu)
Fix Released
High
Canonical Foundations Team
Karmic
Fix Released
High
Canonical Foundations Team

Bug Description

Binary package hint: gpac

Function `glXGetProcAddress' implicitly converted to pointer at compositor/visual_manager_3d_gl.c:102
Function `glXGetProcAddress' implicitly converted to pointer at compositor/visual_manager_3d_gl.c:102

Our automated build log filter[1] detected the problem(s) above that will
likely cause your package to segfault on 64-bit architectures (where the
size of a pointer is greater than the size of an integer.)

This is often due to a missing function prototype definition.
For more information, see [2].

Since use of implicitly converted pointers is always (eventually
and/or itermittantly) fatal to the application, they are errors.
Please correct them for your next upload.

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions

Related branches

Steve Langasek (vorlon)
Changed in gpac (Ubuntu Karmic):
importance: Undecided → High
milestone: none → karmic-alpha-6
status: New → Triaged
Michael Terry (mterry)
Changed in gpac (Ubuntu Karmic):
assignee: nobody → Michael Terry (mterry)
status: Triaged → In Progress
Revision history for this message
Michael Terry (mterry) wrote :

Here's a simple debdiff to prototype the function first. Compiles without a warning about an implicit function for me.

Changed in gpac (Ubuntu Karmic):
assignee: Michael Terry (mterry) → nobody
status: In Progress → Confirmed
Changed in gpac (Ubuntu Karmic):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
milestone: karmic-alpha-6 → ubuntu-9.10-beta
Revision history for this message
Colin Watson (cjwatson) wrote :

Uploaded, thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gpac - 0.4.5-0.3ubuntu4

---------------
gpac (0.4.5-0.3ubuntu4) karmic; urgency=low

  * debian/04_glx-func-def.diff: Define a glXGetProcAddress prototype so
    that gcc doesn't assume it returns an int. LP: #402177

 -- Michael Terry <email address hidden> Thu, 10 Sep 2009 10:06:36 -0400

Changed in gpac (Ubuntu Karmic):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.