projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e195b6
)
Switch off UBSan for sha1 to reduce number of log messages
59/94859/3
author
Slava Barinov
<v.barinov@samsung.com>
Wed, 24 Aug 2016 12:30:20 +0000
(15:30 +0300)
committer
Dongkyun, Son
<dongkyun.s@samsung.com>
Wed, 16 Nov 2016 04:42:16 +0000
(13:42 +0900)
The sha1 contains intentional unaligned access
Change-Id: I5bb6d0c9bf274e8ed0fe4c87c341dee054623202
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
libiberty/sha1.c
patch
|
blob
|
history
diff --git
a/libiberty/sha1.c
b/libiberty/sha1.c
index
617e743
..
ba68039
100644
(file)
--- a/
libiberty/sha1.c
+++ b/
libiberty/sha1.c
@@
-283,6
+283,7
@@
sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
It is assumed that LEN % 64 == 0.
Most of this code comes from GnuPG's cipher/sha1.c. */
+__attribute__((no_sanitize_undefined))
void
sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx)
{