summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.amd64
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2016-01-21 18:20:40 +0000
committermelifaro <melifaro@FreeBSD.org>2016-01-21 18:20:40 +0000
commitacae2332ede82f1e6d8c0cab1c5a204a8f6d95d0 (patch)
tree6104bfa6ff42502e77eea7497c28029d03c4b7a8 /sbin/Makefile.amd64
parent782c60a71700572e664e5dfc8f70a6727d616396 (diff)
downloadFreeBSD-src-acae2332ede82f1e6d8c0cab1c5a204a8f6d95d0.zip
FreeBSD-src-acae2332ede82f1e6d8c0cab1c5a204a8f6d95d0.tar.gz
Fix panic on table/table entry delete. The panic could have happened
if more than 64 distinct values had been used. Table value code uses internal objhash API which requires unique key for each object. For value code, pointer to the actual value data is used. The actual problem arises from the fact that 'actual' e.g. runtime data is stored in array and that array is auto-growing. There is special hook (update_tvalue() function) which is used to update the pointers after the change. For some reason, object 'key' was not updated. Fix this by adding update code to the update_tvalue(). Sponsored by: Yandex LLC
Diffstat (limited to 'sbin/Makefile.amd64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud