Ticket #131 (new defect)

Opened 21 months ago

Sizeof(int) used for an array of size_t

Reported by: mvaner Owned by: opensc-devel@…
Priority: normal Milestone:
Component: opensc Version: trunk
Severity: normal Keywords:
Cc:

Description

There is src/tools/cryptoflex-tool.c a wrong use of sizeof (it would not work if size_t was not int). Patch to follow (I do not see the option to attach it now)

Attachments

opensc-0.11.1-sizeof.patch (317 bytes) - added by mvaner 21 months ago.
The patch

Change History

Changed 21 months ago by mvaner

The patch

Note: See TracTickets for help on using tickets.