Re: ReactOS: stack vs heap

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.fonts.freetype.devel
Message-ID <CAF63+7UnLUurDhXX35bsWKd9R0xoE4VE2k1afRx_1WfrNK-VYw@mail.gmail.com>
On Mon, Sep 4, 2023 at 8:27 PM Werner LEMBERG <[email protected]> wrote:

>
> > Upon further investigation, I think my proposed change is correct.
>
> Thanks a lot, committed!
>

Thanks. One thing I don't understand, is the "+ 2" in the code below:

      AF_LatinBlue  blue_sorted[AF_BLUE_STRINGSET_MAX_LEN + 2];





      for ( i = 0; i < axis->blue_count; i++ )
        blue_sorted[i] = &axis->blues[i];

If that + 2 is correct to be there, then we need a similar + 2 in aflatin.h
for blues. But I cannot see why it's needed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.