Skip to content

Commit

Permalink
xpc-service: Fix handling of request() with arrays (#532)
Browse files Browse the repository at this point in the history
Where we forgot to call begin/end to actually generate an array, and
would end up generating an invalid XPC object.
  • Loading branch information
hsorbo authored Jun 6, 2024
1 parent 5d23227 commit 9330f02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fruity/fruity-host-session.vala
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,9 @@ namespace Frida {
}

if (val.is_of_type (new VariantType ("av"))) {
builder.begin_array ();
add_vararray_values (val, builder);
builder.end_array ();
return;
}

Expand Down

0 comments on commit 9330f02

Please sign in to comment.