Projects STRLCPY zygisk-reflutter Commits 8bf9fdda
🤬
  • ■ ■ ■ ■
    app/src/main/cpp/native-lib.cpp
    skipped 24 lines
    25 25  }
    26 26   
    27 27  static void send_string(int fd, const char *str) {
    28  - int len = strlen(str);
     28 + int len = 0;
     29 + if (str) {
     30 + len = strlen(str);
     31 + }
    29 32   write(fd, &len, sizeof(len));
    30 33   write(fd, str, len);
    31 34  }
    skipped 257 lines
Please wait...
Page is in error, reload to recover