iox-#1725 Make static variables local, remove buf from capture list again
iox-#1725 Make static variables local, remove buf from capture list again

Signed-off-by: Nikolai Morin <9589914a547f27a249a84e3d17f1afcbabeceace@apex.ai>

eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx