commit c9e78d15e1e05f23facf7c28758b442bb25bde68
Author: Christian Schwede <email address hidden>
Date: Wed May 29 11:37:54 2019 +0200
Remove invalid dict entries from hashes.pkl
If the data in a hashes.pkl is corrupted but still de-serialized without
errors, it will mess up the replication and gets never fixed. This
happens for example if one of the keys is a NULL byte.
This patch checks if the dict keys in hashes.pkl are valid strings and
invalidates it if not.
Reviewed: https:/ /review. opendev. org/661930 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=c9e78d15e1e 05f23facf7c2875 8b442bb25bde68
Committed: https:/
Submitter: Zuul
Branch: master
commit c9e78d15e1e05f2 3facf7c28758b44 2bb25bde68
Author: Christian Schwede <email address hidden>
Date: Wed May 29 11:37:54 2019 +0200
Remove invalid dict entries from hashes.pkl
If the data in a hashes.pkl is corrupted but still de-serialized without
errors, it will mess up the replication and gets never fixed. This
happens for example if one of the keys is a NULL byte.
This patch checks if the dict keys in hashes.pkl are valid strings and
invalidates it if not.
Closes-Bug: 1830881 935feed0aee3e19 63bb72eb5ea
Change-Id: I84b062d062ff49