~hp/nk_pugl

617300d4f651cdfeb1dd0e967151881c2d2a1b57 — Hanspeter Portner 11 months ago 9cb9c31
Squashed 'nuklear/' changes from 665b2668..d5817649

d5817649 Fix stringop-overflows

git-subtree-dir: nuklear
git-subtree-split: d5817649ba08f70f6f4f983564c1e9353775e903
1 files changed, 2 insertions(+), 2 deletions(-)

M nuklear.h
M nuklear.h => nuklear.h +2 -2
@@ 12305,7 12305,7 @@ NK_INTERN void
nk_tt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes,
    int kernel_width)
{
    unsigned char buffer[NK_TT_MAX_OVERSAMPLE];
    unsigned char buffer[NK_TT_MAX_OVERSAMPLE + 4];
    int safe_w = w - kernel_width;
    int j;



@@ 12369,7 12369,7 @@ NK_INTERN void
nk_tt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes,
    int kernel_width)
{
    unsigned char buffer[NK_TT_MAX_OVERSAMPLE];
    unsigned char buffer[NK_TT_MAX_OVERSAMPLE + 4];
    int safe_h = h - kernel_width;
    int j;