[Cmake-commits] CMake branch, next, updated. v3.5.2-1583-gd5f21f9
Brad King
brad.king at kitware.com
Wed May 25 10:03:22 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via d5f21f98666311bf7b1d71446ef1aa947d773fb0 (commit)
via 8479dc46f12831c7736ce59b5833e43509899f7d (commit)
from 7af18cb57b3d8d3366c694d57fa7f6888f45e9dc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d5f21f98666311bf7b1d71446ef1aa947d773fb0
commit d5f21f98666311bf7b1d71446ef1aa947d773fb0
Merge: 7af18cb 8479dc4
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed May 25 10:03:21 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed May 25 10:03:21 2016 -0400
Merge topic 'liblzma-signed-shift' into next
8479dc46 liblzma: Avoid possible overflow on signed left shift
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8479dc46f12831c7736ce59b5833e43509899f7d
commit 8479dc46f12831c7736ce59b5833e43509899f7d
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed May 25 10:02:02 2016 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed May 25 10:02:02 2016 -0400
liblzma: Avoid possible overflow on signed left shift
Use an unsigned value to produce the needed mask.
diff --git a/Utilities/cmliblzma/liblzma/simple/x86.c b/Utilities/cmliblzma/liblzma/simple/x86.c
index 101d8ed..95858e5 100644
--- a/Utilities/cmliblzma/liblzma/simple/x86.c
+++ b/Utilities/cmliblzma/liblzma/simple/x86.c
@@ -103,7 +103,7 @@ x86_code(lzma_simple *simple, uint32_t now_pos, bool is_encoder,
if (!Test86MSByte(b))
break;
- src = dest ^ ((1 << (32 - i * 8)) - 1);
+ src = dest ^ ((1u << (32 - i * 8)) - 1);
}
buffer[buffer_pos + 4]
-----------------------------------------------------------------------
Summary of changes:
Utilities/cmliblzma/liblzma/simple/x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list