Skip to content

chore(memory): update libttak and harden scrollback capture - #597

Merged
gg582 merged 1 commit into
uncensoredfrom
chore/libttak-memory-safety
Nov 2, 2026
Merged

gg582 merged 1 commit into
uncensoredfrom
chore/libttak-memory-safety

Conversation

@gg582

@gg582 gg582 commented Nov 2, 2026

Copy link
Copy Markdown
Member

Summary

  • update bundled libttak from 714aa7c9 to the latest v3.5.2 tag (2d356032)
  • replace scrollback capture raw malloc/realloc/free ownership with libttak abstract memory
  • bound capture growth before size arithmetic and use scoped map/unmap windows for reads
  • release an active capture during session cleanup
  • add an overflow regression test that verifies captured bytes flush without attempting a huge copy

Verification

  • libttak v3.5.2 clean build
  • make -j2
  • make unit-test
  • make SANITIZE=address,undefined unit-test

@gg582
gg582 merged commit 8758faf into uncensored Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant