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 |
| .. |
|
celt
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
include
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
silk
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
src
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |
|
Makefile.am
|
fix: FORTIFY vsnprintf crash on Android + foreground service type
|
2 months ago |
|
opus_config.h
|
stcp: ed25519 pubkey exchange in handshake, fix instance destroy segfault, fix chat_tcp_test
|
2 months ago |