diff options
author | Prashanth Pai <ppai@redhat.com> | 2015-08-27 11:36:19 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2016-01-11 20:47:05 -0800 |
commit | ac33dc6dbf1f982cf522556aa938ebfb0e6ddded (patch) | |
tree | c58c812119ca7cc438e00d500d18a58f111a5437 /test/functional/test_account.py | |
parent | b67be0d35519e8ebadea26cad4df084cdb301bc7 (diff) |
Refactor read_metadata() method
This change:
* Simplifies read_metadata() method.
* Validates pickle header before attempting to unpickle.
This change does NOT fix the security vulnerability itself.
That would be sent as a separate change.
Change-Id: Id95bd584f3ad00fb075456544495f17f7038f991
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Thiago da Silva <tdasilva@redhat.com>
Tested-by: Thiago da Silva <tdasilva@redhat.com>
Reviewed-on: http://review.gluster.org/13220
Diffstat (limited to 'test/functional/test_account.py')
0 files changed, 0 insertions, 0 deletions