Allocate correct memory for encrypted unit keys.
Compare changes
+ 1
− 1
@@ -199,7 +199,7 @@ static int _parse_uks(AACS_UK *uk, const uint8_t *p, size_t size, int aacs2)
The encrypted unit keys should be stored in an array of UNIT_KEY types. However, the code allocates an array of AACS_UK types instead.
VideoLAN code repository instance