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:
90482b6
)
[HB] Fix another sanitize() bug; hopefully it's the last one
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 5 Aug 2009 03:30:32 +0000
(23:30 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:31 +0000
(14:40 -0500)
src/hb-ot-layout-common-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common-private.hh
b/src/hb-ot-layout-common-private.hh
index 089e0e860a733bf217c0c5da04a59d6362b5b8b9..02ab58da158b569b788c3147a0dd73aad16bc704 100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/hb-ot-layout-common-private.hh
@@
-48,7
+48,7
@@
struct Record
{
inline bool sanitize (SANITIZE_ARG_DEF, const void *base) {
SANITIZE_DEBUG ();
- return SANITIZE (tag)
== 0
&& SANITIZE_BASE (offset, base);
+ return SANITIZE (tag) && SANITIZE_BASE (offset, base);
}
Tag tag; /* 4-byte Tag identifier */