- long ret = bindings.NetAddress_onion_v3(ed25519_pubkey, checksum, version, port);
- if (ret < 1024) { return null; }
+ long ret = bindings.NetAddress_onion_v3(InternalUtils.check_arr_len(ed25519_pubkey, 32), checksum, version, port);
+ Reference.reachabilityFence(ed25519_pubkey);
+ Reference.reachabilityFence(checksum);
+ Reference.reachabilityFence(version);
+ Reference.reachabilityFence(port);
+ if (ret >= 0 && ret <= 4096) { return null; }