solana/sdk/bpf/c/inc
Christian Machacek e02b4e1192
Fix a bug in input deserialization in the C SDK (#17217)
When the input contains more accounts than the user has requested to be deserialized, and one of the excess ones is a dup, the input pointer is not adjusted correctly.

Compare the lines added by this commit to line 401: "input += 7; // padding". Since the input data layout does not depend on the number of accounts the user wants to deserialize, this adjustment by 7 bytes must happen in both branches.
2021-05-14 16:41:55 -06:00
..
sys Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
deserialize_deprecated.h Add support for deprecated loader (#11946) 2020-08-31 14:06:58 -07:00
solana_sdk.h Fix a bug in input deserialization in the C SDK (#17217) 2021-05-14 16:41:55 -06:00
stdio.h Add printf declaration (#13514) 2020-11-10 23:40:48 +00:00
stdlib.h Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
string.h Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
wchar.h Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00