dragonflight/services/framecache/src
Wild Dragon Dev dc66833247 fix: declare all slot functions in slot.h to prevent 64-bit pointer truncation
fc_slot_create, fc_slot_destroy, fc_slot_open, fc_slot_close, and
fc_slot_write_frame were defined in slot.c but never declared in slot.h.
Any translation unit calling them without seeing a proper prototype
would fall back to implicit int return (32 bits), truncating 64-bit
pointers and causing SIGSEGV on dereference.

This affected framecache.c (POST /slots → fc_slot_create, DELETE
→ fc_slot_destroy) and other callers.
2026-06-03 20:16:35 +00:00
..
framecache.c framecache: add SIGPIPE ignore, signal logging, and init:true for stable POST handling 2026-06-03 20:05:55 +00:00
net_ingest.c fix(framecache): address critical bugs from code review 2026-06-03 16:25:34 +00:00
registry.c feat(framecache): phase 1 — framecache container + consumer library 2026-06-03 14:53:51 +00:00
registry.h feat(framecache): phase 1 — framecache container + consumer library 2026-06-03 14:53:51 +00:00
slot.c fix: move struct fc_slot definition to slot.h and declare accessors to fix 64-bit pointer truncation 2026-06-03 20:10:31 +00:00
slot.h fix: declare all slot functions in slot.h to prevent 64-bit pointer truncation 2026-06-03 20:16:35 +00:00