You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
evgeny
f2228202e3
fix: FORTIFY vsnprintf crash on Android + foreground service type
Root cause: etcp_on_up/etcp_on_down/etcp_conn_process_send_queue
used fixed buffers (links_str[256], l_status[256]) with snprintf
chains in loops over links. With 15+ links (IPv6 addresses),
sizeof(buf)-offset turned negative → vsnprintf size=(size_t)(-17)
→ FORTIFY abort on Bionic.
Fixes:
- lib/strbuf.h/c: safe growable printf buffer (auto-realloc)
- etcp.c: 3 snprintf chains → strbuf
- debug_config.c: BUF_ADVANCE macro prevents offset overflow
- android_jni_bridge.c: bridge_log va_list fix, set_member_flags guard
- chat_core.c: TAGS_ADVANCE macro in tags_commit
- AndroidManifest.xml: dataSync→specialUse (time limit exhausted)
- stcp: ed25519 pubkey exchange, tcp link addr/status in JNI bridge
- etcp_router: encrypted flag + ECDH per peer-pair
- node_conn_direct: TCP link support
- topo_node: group nodes cleanup
- media_delivery: buffer overflow fix
- test_stcp: ed25519 key exchange test
- tests: invite_group_create + Makefile update
|
2 months ago |
| .. |
|
app
|
fix: FORTIFY vsnprintf crash on Android + foreground service type
|
2 months ago |
|
doc
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
gradle/wrapper
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
headless
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
jni_bridge
|
fix: FORTIFY vsnprintf crash on Android + foreground service type
|
2 months ago |
|
libutun_lite
|
etcp: переупорядочить close + защита state==2 во всех API-точках; topo: правильная очистка group nodes и registry; chat/member: новый модуль member_sync; chatgui: обновления транспорта и UI
|
2 months ago |
|
.gitignore
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
AGENTS.md
|
encrypt overhead fix (33→36, noencrypt_len), mtu default 1280, connmonitor window, total_decrypted for TCP, check.sh
|
2 months ago |
|
CMakeLists.txt
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
build.gradle.kts
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
build.sh
|
encrypt overhead fix (33→36, noencrypt_len), mtu default 1280, connmonitor window, total_decrypted for TCP, check.sh
|
2 months ago |
|
gradle.properties
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
gradlew
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
settings.gradle.kts
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |