]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Don't call wmemmove if size is zero.
authorJoerg Sonnenberger <joerg@bec.de>
Tue, 1 Aug 2017 15:17:45 +0000 (17:17 +0200)
committerJoerg Sonnenberger <joerg@bec.de>
Tue, 1 Aug 2017 15:17:45 +0000 (17:17 +0200)
commit9d5e5f32208a42fc3e7986645a791524939aa9e4
treec33e1cb30c33adaad41c3624c956384b3b3d8a8b
parentde20494ba2a4fcff8b56010faa75467ad8d5a40b
Don't call wmemmove if size is zero.

The data pointers can be NULL in this case and ISO C says this is UB.
libarchive/archive_string.c