CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2024/09/27 07:06:21
Modified files: usr.bin/rsync : blocks.c Log message: rsync: fix reallocarray() usage in blkhash_set() The well-named ERR() macro doesn't error out. Therefore an incorrect use of reallocarray() is actually a leak that is easily overlooked. Do it the right way by assigning to a temporary variable and preserve behavior by freeing and NULL-ing. ok claudio