Home GnuPG
Diffusion GPGME 64bb704a25ea

cpp: Validate the transition map
64bb704a25eaUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

cpp: Validate the transition map

* lang/cpp/src/gpgsignkeyeditinteractor.cpp (makeTable): Assert that
all transitions go from one state to a different state.

The state machine gets stuck if a transition doesn't change the state.
Make sure that this cannot happen again by mistake.

Taken from gpgmepp commit 6f2e91d4d25afa6934ceaf1563a4d826a904d644

Details

Provenance
ikloeckerAuthored on Fri, Apr 11, 10:28 AM
wernerCommitted on Fri, Apr 11, 10:28 AM
Parents
rMa4945675ece2: cpp: Ensure that all transitions go from one state to a different state
Branches
Unknown
Tags
Unknown

Event Timeline