bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
237 stars 122 forks source link

CBCBlockCipher: fixed potential memory leak: create view of list, instead of new list. #6

Closed hpoul closed 4 years ago

hpoul commented 4 years ago

Decoding "large" (~200kb) of memory previously crashed because of too much copies in memory. This fix only creates views on the data.

mwcw commented 4 years ago

Thanks for the contribution.

It has been merged.

Thanks again.

MW