Thanks to Coverity, these were all reported by their Prevent tool.
All of these (except _lsprof.c) should be backported. Particularly the hotshot change which validates sys.path. Can someone backport?
N
Neal Norwitz committed
60da31660c6a74fea15dfc93f3b3c16ce4619539
Parent: e22373d