~registry/libfprint/master

Viewing all changes in revision 658.

  • Committer: Bastien Nocera
  • Date: 2019-08-08 12:18:47 UTC
  • Revision ID: git-v1:c11126181ea6f4f29e1937ff19f32dc1a3639f01
aeslib: Fix use-after-free in aeslib

If a USB transfer is started but not completed in one go, the wdata we
pass to continue_write_regv() will already be freed by the time we try
to use it again.

Only free() the wdata on error, or when the USB transfer is completed.

Closes: #180

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: