basename implicitly converted to pointer

Bug #402185 reported by LaMont Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rasmol (Debian)
Fix Released
Unknown
rasmol (Ubuntu)
Fix Released
High
Unassigned
Karmic
Fix Released
High
Unassigned

Bug Description

Binary package hint: rasmol

In 2.7.4.2-1:
Function `basename' implicitly converted to pointer at molecule.c:338
Function `basename' implicitly converted to pointer at molecule.c:338
Function `basename' implicitly converted to pointer at molecule.c:338
Function `basename' implicitly converted to pointer at molecule.c:338

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

Revision history for this message
LaMont Jones (lamont) wrote :

This was fixed in debian in 2.7.4.2-5

Changed in rasmol (Debian):
status: Unknown → Fix Released
Steve Langasek (vorlon)
Changed in rasmol (Ubuntu Karmic):
importance: Undecided → High
milestone: none → karmic-alpha-6
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

Fixed by syncing rasmol 2.7.4.2-5:

 rasmol (2.7.4.2-5) unstable; urgency=low
 .
   * molecule.c: Add #define _GNU_SOURCE to get the correct definition
     of basename() (closes: #535133)

Changed in rasmol (Ubuntu Karmic):
status: Triaged → 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.