]> the.earth.li Git - onak.git/commit
Guard max lock setting with error check
authorJonathan McDowell <noodles@earth.li>
Tue, 22 Jul 2014 12:01:14 +0000 (13:01 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 22 Jul 2014 12:01:14 +0000 (13:01 +0100)
commitb17c5d06d2a9f27d3e7b3c3db125da5b977fdaaa
treed35852c3caed983586187f49a1b305da258c8d87
parent5e40e676a7c4f640c9f850a379300c01a5fca69c
Guard max lock setting with error check

We weren't checking for an error before setting the DB4 maxlocks
parameter, which could cause a NULL dereference in the error path.
keydb_db4.c