diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:38:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:48:33 +0100 |
commit | 438ac3262851b3915ac8c37db7800b8a9008068c (patch) | |
tree | 737a62e8d89dae388372d0701507d033ef94b27e /scripts | |
parent | 5f2facfc1dd80d28b2734bc7592e4b7c73cdb828 (diff) | |
download | poky-438ac3262851b3915ac8c37db7800b8a9008068c.tar.gz |
bitbake: codeparser: Use hashlib for hashing, not hash()
"hash() is randomised by default each time you start a new instance of
recent
versions (Python3.3+) to prevent dictionary insertion DOS attacks"
which means we need to use hashlib.md5 to get consistent values for
the codeparser cache under python 3. Prior to this, the codeparser
cache was effectively useless under python3 as shown by performance
regressions.
(Bitbake rev: 12d43cf45ba48e3587392f15315d92a1a53482ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions