summaryrefslogtreecommitdiff
path: root/sys/lib/python/idlelib/ReplaceDialog.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-13 22:19:37 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-13 22:19:37 +0200
commit8fd1aa262681ee7380df46dd8fc0db066969320a (patch)
treea698950ea91926bd741e708a54341eb23a06a3f4 /sys/lib/python/idlelib/ReplaceDialog.py
parent4ed396d438554c2dea8521b0e5a7ee51826d4125 (diff)
libc: fix out of bounds access in dirpackage(), simplify
- dirpackage() was not checking if the stat entry lies within the buffer. fixed. - simplify dirpackage(), as we process all the bytes from the buffer, we do not need to track "ss" here as its the same as "ts". - zero Dir* array pointer early in dirread() and dirreadall() and avoid calling dirpackage on <= buffer length.
Diffstat (limited to 'sys/lib/python/idlelib/ReplaceDialog.py')
0 files changed, 0 insertions, 0 deletions