Bug #3165
Privilege.xs perform unsafe casting of priv_ptype_t to int
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.
Updated by Rich Lowe almost 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Tags deleted (
needs-triage)
Resolved in a713f26