Bug 1577584 Comment 31 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I guess if it was a "v2" `OS2` or earlier, then 96 bytes would be acceptable.

In that case, is it right for `as()` to [compare against the full `hb_null_size`](https://github.com/harfbuzz/harfbuzz/blob/fa7edf87c99a46d29a9f0d58b2896bc24a43853e/src/hb-array.hh#L197) ?

Edit: I'm not sure what the UB rules would say about using a pointer-to-100-byte-object to point to a 96-byte slice of an mmap. Somehow it feels wrong, but it doesn't seem like C++'s bailiwick to say so, since the mmap was never a C++ object to begin with.

Back to Bug 1577584 Comment 31