[spice-common PATCH 2/2] test-marshallers.proto: ArrayMessage: make space for name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do it by adding @end tag.
Without it 'name' is a non-allocated pointer.

Signed-off-by: Uri Lublin <uril@xxxxxxxxxx>
---

Is there a better way to do it ?

---

 tests/test-marshallers.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-marshallers.proto b/tests/test-marshallers.proto
index 34cc892..eabd487 100644
--- a/tests/test-marshallers.proto
+++ b/tests/test-marshallers.proto
@@ -6,7 +6,7 @@ channel TestChannel {
    } ShortDataSubMarshall;
 
    message {
-      int8 name[];
+      int8 name[] @end;
    } ArrayMessage;
 
     message {
-- 
2.21.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]