diff options
author | Brad King <brad.king@kitware.com> | 2010-09-10 12:58:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-09-10 13:00:48 (GMT) |
commit | b9c41813d29be3a520d196ce3abfb533fb5c0dbb (patch) | |
tree | 89d1d816373b094e9bf91fc168fdfa4ed338c039 /Utilities/cmlibarchive/libarchive/archive_read_disk_private.h | |
parent | 87fde60563a3915234b33192d7f20b2af0c37206 (diff) | |
download | CMake-b9c41813d29be3a520d196ce3abfb533fb5c0dbb.zip CMake-b9c41813d29be3a520d196ce3abfb533fb5c0dbb.tar.gz CMake-b9c41813d29be3a520d196ce3abfb533fb5c0dbb.tar.bz2 |
libarchive: Fix purposeful crash
Dereferencing a 0-pointer is undefined behavior, not a deterministic
crash. Use a 1-pointer instead. This also avoids a warning by Clang
about the undefined behavior.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_read_disk_private.h')
0 files changed, 0 insertions, 0 deletions