p11-glue / p11-kit

Provides a way to load and enumerate PKCS#11 modules.
https://p11-glue.github.io/p11-glue/p11-kit.html
Other
151 stars 95 forks source link

rpc: check value length before writing the value #629

Closed ZoltanFridrich closed 8 months ago

ZoltanFridrich commented 8 months ago

This is to prevent buffer overflow in case the value buffer is too short to store the decoded value.

coveralls commented 8 months ago

Coverage Status

coverage: 69.531% (-0.02%) from 69.548% when pulling f753e569117f8e15a036e69f67246c4af3e6a6ce on ZoltanFridrich:zfridric_devel into ebfc19c741c7399c2bd48133d3bdf2c70a7b5b0e on p11-glue:master.