diff options
author | tmm <tmm@FreeBSD.org> | 2003-05-30 11:05:08 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2003-05-30 11:05:08 +0000 |
commit | 4a94fb79dbf8595ed1be871114c15bf841e2da08 (patch) | |
tree | 196ebc150d9c61d28eb9f2451b3dbcb0f90882d0 /release | |
parent | 0c3c12a82d69a5456b37ed1885f2a3ebeaf477fd (diff) | |
download | FreeBSD-src-4a94fb79dbf8595ed1be871114c15bf841e2da08.zip FreeBSD-src-4a94fb79dbf8595ed1be871114c15bf841e2da08.tar.gz |
Fix a sizeof error in __bt_put: when writing they key and data sizes
to a buffer in the big key/data case, memmove() was used on pointers
to size_ts, but only sizeof(u_int32_t) bytes where copied. This broke
on big_endian architectures where sizeof(size_t) > sizeof(u_int32_t).
This bug broke portupgrade (by way of ruby_bdb1) on sparc64.
Approved by: re (rwatson)
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions