aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-01-13 15:32:58 +0100
committerlonkaars <loek@pipeframe.xyz>2023-01-13 15:32:58 +0100
commitdba17944c70cf4e51a40e617a1ba6abc0fd1e65d (patch)
tree667ce85f3d11d29a56ffd740c207044987d2b268 /shared
parent81e1d54c33fedd3e297bbf812c36d628e8261056 (diff)
fix infinite loop
Diffstat (limited to 'shared')
-rw-r--r--shared/protocol-tests/get-node-response-broken.src80
-rw-r--r--shared/protocol-tests/post-net-rm-d61c4e47-78ba-48cc-8000-000000000000.src21
2 files changed, 101 insertions, 0 deletions
diff --git a/shared/protocol-tests/get-node-response-broken.src b/shared/protocol-tests/get-node-response-broken.src
new file mode 100644
index 0000000..c3f5333
--- /dev/null
+++ b/shared/protocol-tests/get-node-response-broken.src
@@ -0,0 +1,80 @@
+00: ff ; FIXME: this is a 'real' network file that causes the qt client to crash
+01: 05
+02: 00
+03: 03
+04: 00
+05: 01
+06: 8f
+07: f8
+08: 00
+09: 46
+0a: 00
+0b: 02
+0c: 00
+0d: 42
+0e: d6
+0f: 1c
+10: 4e
+11: 47
+12: 78
+13: ba
+14: 48
+15: cc
+16: 80
+17: 00
+18: 00
+19: 00
+1a: 00
+1b: 00
+1c: 00
+1d: 00
+1e: 00
+1f: 00
+20: 00
+21: 00
+22: 00
+23: 00
+24: 00
+25: 00
+26: 00
+27: de
+28: ad
+29: be
+2a: ef
+2b: 00
+2c: 00
+2d: 00
+2e: 00
+2f: 51
+30: 6e
+31: d0
+32: e2
+33: c7
+34: fe
+35: 42
+36: bc
+37: 80
+38: 00
+39: 00
+3a: 00
+3b: 00
+3c: 00
+3d: 00
+3e: 00
+3f: 00
+40: 00
+41: 00
+42: 00
+43: 00
+44: 00
+45: 00
+46: 00
+47: 00
+48: de
+49: ad
+4a: be
+4b: ef
+4c: 00
+4d: 00
+4e: 00
+4f: 00
diff --git a/shared/protocol-tests/post-net-rm-d61c4e47-78ba-48cc-8000-000000000000.src b/shared/protocol-tests/post-net-rm-d61c4e47-78ba-48cc-8000-000000000000.src
new file mode 100644
index 0000000..d3b1260
--- /dev/null
+++ b/shared/protocol-tests/post-net-rm-d61c4e47-78ba-48cc-8000-000000000000.src
@@ -0,0 +1,21 @@
+00: ff ; start byte
+01: 04 ; post net opcode
+02: 00 ; message id
+03: 00 ; ^
+04: d6 ; uuid (d61c4e47-78ba-48cc-8000-000000000000)
+05: 1c ; ^
+06: 4e ; ^
+07: 47 ; ^
+08: 78 ; ^
+09: ba ; ^
+0a: 48 ; ^
+0b: cc ; ^
+0c: 80 ; ^
+0d: 00 ; ^
+0e: 00 ; ^
+0f: 00 ; ^
+10: 00 ; ^
+11: 00 ; ^
+12: 00 ; ^
+13: 00 ; ^
+14: 00 ; join network (false, leave)