neko/server/internal/capture/gst
tt2468 2b13220d63
Fix buffer overflow in Gstreamer log function (#382)
vsprintf() is dangerous, and can overflow easily, especially with small
buffers like the 100 byte one that was being used. This changes the
buffer size to a more sane 4KiB, and uses vsnprintf() to automatically
concatenate a large log message instead of overflowing and crashing.
2024-03-27 21:32:47 +01:00
..
gst.c Fix buffer overflow in Gstreamer log function (#382) 2024-03-27 21:32:47 +01:00
gst.go gst: move sample channel to AttachAppsink. 2023-01-29 20:31:00 +01:00
gst.h refactor capture with broadcast. 2022-09-17 18:37:30 +02:00