-
Committer:
John Arbash Meinel
-
Date:
2009-12-14 15:52:24 UTC
-
mto:
(4634.107.1 2.0)
-
Revision ID:
john@arbash-meinel.com-20091214155224-6av92htxukvp69jk
Fix a rare segmentation fault in the groupcompress code.
When finding the location to insert an entry in the hash map,
we start by going to the next hash bucket, and walking backwards
to find the last empty entry.
The last entry in the hash table intentionally points to just
after the actual entry table, so that we have an 'upper bound'.
However, if the last actual bucket was full, this could cause
us to check to see if the 'sentinal' value pointed to NULL,
which isn't valid. If the memory allocator did not allocate
extra bytes after then end of the entry table, this would
access invalid memory and segfault.
The fix is to change the if check to evaluate whether the current
pointer is in the current bucket before we check to see whether
it is empty. (Note that the double check *should* be redundant.)
.. |
bzrlib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
contrib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
doc
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
man1
|
2425.1.1
|
18 years ago |
Robert Collins |
``make docs`` now creates a man page at ``man1/bzr |
|
|
|
tools
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
.bzrignore |
4634.39.35
|
16 years ago |
Ian Clatworthy |
put rules back in Makefile supporting plain-style |
1.1 KB |
|
|
.rsyncexclude |
1185.33.36
|
20 years ago |
Martin Pool |
Exclude more files from dumb-rsync upload |
203 bytes |
|
|
BRANCH.TODO |
4325.3.4
|
16 years ago |
Johan Walles |
Merge from upstream.
|
150 bytes |
|
|
bzr |
4634.77.16
|
16 years ago |
John Arbash Meinel |
Prepare NEWS and version strings for 2.0.3-develop |
5.6 KB |
|
|
bzr.ico |
3688.3.3
|
17 years ago |
John Arbash Meinel |
An updated transparent icon for bzr. |
12.7 KB |
|
|
COPYING.txt |
1861.2.9
|
19 years ago |
Alexander Belchenko |
rename gpl.txt => COPYING.txt
|
17.5 KB |
|
|
INSTALL |
2696.2.4
|
18 years ago |
Aaron Bentley |
Fix typo |
1.4 KB |
|
|
Makefile |
4634.97.5
|
16 years ago |
Martin Pool |
Japanese docs need to be installed too (how tediou |
15.3 KB |
|
|
NEWS |
4634.106.1
|
16 years ago |
John Arbash Meinel |
Fix a rare segmentation fault in the groupcompress |
389 KB |
|
|
profile_imports.py |
4183.7.1
|
16 years ago |
Sabin Iacob |
update FSF mailing address |
5.5 KB |
|
|
README |
4634.65.1
|
16 years ago |
Ian Clatworthy |
update for 2.0 |
2.2 KB |
|
|
setup.py |
4634.92.1
|
16 years ago |
John Arbash Meinel |
Update the download location registered with pypi. |
26 KB |
|
|
TODO |
2382.2.5
|
18 years ago |
Martin Pool |
Contents of TODO file moved into bug tracker |
115 bytes |
|
|