Skip to content

Change data_len and data together

Frediano Ziglio requested to merge fziglio/usbredir:invariant into master

The array pointed by data should be big to contain data_len bytes. Change one field close to the other to make easier to maintain such invariant in usbredirparser_unserialize.

Signed-off-by: Frediano Ziglio freddy77@gmail.com

Merge request reports