[Heimdal-source-changes] [heimdal/heimdal] dc5e29: hcrypto: avoid hcrypto_validate race
Jeffrey Altman
noreply at github.com
Tors May 16 22:34:11 CEST 2019
Branch: refs/heads/jaltman/hcrypto_validation_race
Home: https://github.com/heimdal/heimdal
Commit: dc5e29c25e42c5cfe787ccbaf6890fa865abbb27
https://github.com/heimdal/heimdal/commit/dc5e29c25e42c5cfe787ccbaf6890fa865abbb27
Author: Jeffrey Altman <jaltman at secure-endpoints.com>
Date: 2019-05-16 (Thu, 16 May 2019)
Changed paths:
M lib/hcrypto/validate.c
Log Message:
-----------
hcrypto: avoid hcrypto_validate race
Do not increment 'validated' until after all of the validation
steps have been performed. While its ok the validate more than
once we need to ensure that validation occurs at least once
before the cipher is used.
Change-Id: I6896c132ec2a7423c5166c1c074a2dedac54e00d
More information about the Heimdal-source-changes
mailing list