Project

General

Profile

Actions

Bug #3165

closed

Privilege.xs perform unsafe casting of priv_ptype_t to int

Added by Theo Schlossnagle almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Low
Category:
lib - userland libraries
Start date:
2012-09-07
Due date:
2012-09-07
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

In the perl extensions, the Privilege.xs casts PRIV_ALLSETS to an int.

The define is ((priv_ptype_t)0) which is a pointer in this circumstance. If compiling perl modules for 64bit perl, we get a warning about casting a pointer to an integer of a different size.

Actions #1

Updated by Rich Lowe over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in a713f26

Actions

Also available in: Atom PDF