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:
9b532e2
)
[name] Fix nul-termination bug
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 24 Oct 2018 05:16:32 +0000
(22:16 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 27 Oct 2018 04:22:26 +0000
(21:22 -0700)
src/hb-ot-name.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-name.cc
b/src/hb-ot-name.cc
index
56f8933
..
7962d8b
100644
(file)
--- a/
src/hb-ot-name.cc
+++ b/
src/hb-ot-name.cc
@@
-83,7
+83,7
@@
hb_ot_name_convert_utf (const hb_bytes_t *bytes,
};
*text_size = dst - text;
- *
tex
t = 0; /* NUL-terminate. */
+ *
ds
t = 0; /* NUL-terminate. */
}
/* Accumulate length of rest. */