summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-08-17 19:50:13 +0100
committerSimon McVittie <smcv@collabora.com>2018-12-03 19:05:13 +0000
commitf9700a8a477a1f71b36e894361a3f8bdc64dc32f (patch)
tree6b2b37cde2186073ce7484a3b20c2ad1e99e7563 /cmake
parent451192ba8a5a4f1712de351ecbd2b668dc96ec87 (diff)
downloaddbus-f9700a8a477a1f71b36e894361a3f8bdc64dc32f.tar.gz
DBusHash: Program a bit more defensively
In particular, the assertions that bucket >= table->buckets and bucket <= &table->buckets[table->n_buckets - 1] catch the bug fixed by the previous commit, by ensuring that bucket is somewhere inside the new array of buckets. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions