Corrected bug #1359439 which had some misuse of pointers in it. Note that this file is still a work in progress and does not compile yet.
This commit is contained in:
+2
-2
@@ -475,8 +475,8 @@ int rpm_ack_decode_object_property_value(
|
||||
if (apdu && apdu_len && object_property && array_index)
|
||||
{
|
||||
// don't decode the application tag number or its data here
|
||||
application_data = &apdu[len];
|
||||
application_data_len = apdu_len - len - 1 /*closing tag*/;
|
||||
*application_data = &apdu[len];
|
||||
*application_data_len = apdu_len - len - 1 /*closing tag*/;
|
||||
/* FIXME: check for closing tag?*/
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user