From 363b4bce148a326e49950b3ac913493e31085e58 Mon Sep 17 00:00:00 2001 From: Alex Shelkovnykov Date: Sun, 19 Nov 2023 15:30:27 -0500 Subject: [PATCH] serf: fix bug that would abandon arvo state --- rust/ares/src/serf.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/ares/src/serf.rs b/rust/ares/src/serf.rs index b887062..cd455de 100644 --- a/rust/ares/src/serf.rs +++ b/rust/ares/src/serf.rs @@ -244,6 +244,7 @@ pub fn serf() -> io::Result<()> { // XX: Such data should go in the PMA once that's available unsafe { let stack = &mut context.nock_context.stack; + stack.preserve(&mut context.arvo); stack.preserve(&mut context.nock_context.cold); stack.preserve(&mut context.nock_context.warm); stack.frame_pop();