summaryrefslogtreecommitdiff
path: root/sys/lib/python/mercurial/filemerge.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-11 17:14:56 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-11 17:14:56 +0100
commit8c11b62af9e60a35d594deb55b88026ff84124f7 (patch)
tree095bd4f3b442b589de88fb9e4e15f8f26839edae /sys/lib/python/mercurial/filemerge.py
parenta44a1dbd19c2a9b05b497e32853e57ca88495397 (diff)
smtp, smtpd: fix use of enc64(), fix memory leaks in doauth()
the approximation of n*2 to calculate the number of output bytes for enc64() fails for inputs of size < 3. this is fixed by using encodefmt() which gets the calculation right and also simplifies the code avoiding the allocation and freeing of intermediate string buffers.
Diffstat (limited to 'sys/lib/python/mercurial/filemerge.py')
0 files changed, 0 insertions, 0 deletions