openssl: [BUG] Use of strnlen() is not portable

strnlen() in fuzz/provider.c is not portable. Causes build failures on NonStop (at least).

      found_len = strnlen((const char *) *buf, *len);
                  ^
"/home/ituglib/randall/openssl-klt/fuzz/provider.c", line 163: error(114):
          identifier "strnlen" is undefined

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

actually, scratch that, we have an implementation of OPENSSL_strnlen already, just need to switch to using it