projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34379b4
)
Fix another sanitize bug
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 9 Oct 2015 18:23:15 +0000
(14:23 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 9 Oct 2015 18:23:15 +0000
(14:23 -0400)
Also discovered by "libFuzzer".
src/hb-open-type-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-open-type-private.hh
b/src/hb-open-type-private.hh
index
aeb3302
..
e55d2e1
100644
(file)
--- a/
src/hb-open-type-private.hh
+++ b/
src/hb-open-type-private.hh
@@
-920,7
+920,7
@@
struct ArrayOf
inline bool sanitize_shallow (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
- return_trace (c->check_struct (this) && c->check_array (
this
, Type::static_size, len));
+ return_trace (c->check_struct (this) && c->check_array (
array
, Type::static_size, len));
}
public: