about summary refs log tree commit diff stats
path: root/doc/tools
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-07-07 20:29:31 +0200
committertoonn <toonn@toonn.io>2020-07-07 20:29:31 +0200
commit2637329b2d8ace6231c82258e072d3f800bf637d (patch)
tree391f7a83ec29fd409bce7743c6f8c82ae185c482 /doc/tools
parent8fd2e80148a75711e822e16d2edc87a1014527a8 (diff)
downloadranger-2637329b2d8ace6231c82258e072d3f800bf637d.tar.gz
Hashlib requires objects implementing the buffer API
The hashes from python's hashlib only support objects that implement the
buffer API. Bytes objects (python 2 string, python 3 string.encode())
are such objects.

Passing fields from a stat object to a hash directly caused crashes
whenever ranger checked for an image preview.

Fixes #2032
Diffstat (limited to 'doc/tools')
0 files changed, 0 insertions, 0 deletions