[added to the 4.1 stable tree] KEYS: encrypted: fix buffer overread in valid_master_desc()