From 6d18e4ba3edd077aba9811d446d94f16141f57e9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 8 Sep 2022 17:11:50 +0200 Subject: Stream: don't open stream if headers aren't understood This avoids e.g. crashing later if the geometry is bad. This commit also removes a problematic stanza from the geometry in test.stream, since the stream reading functions are now more fussy about this. --- tests/test.stream | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/test.stream') diff --git a/tests/test.stream b/tests/test.stream index 542693d5..c10937a9 100644 --- a/tests/test.stream +++ b/tests/test.stream @@ -16,12 +16,6 @@ mask = /data/data mask_good = 0x0001 mask_bad = 0xfffe -bad_test/min_fs = 0 -bad_test/min_ss = 0 -bad_test/max_fs = 100 -bad_test/max_ss = 100 -bad_test/panel = q2a0 - bad_thing/min_x = -390 bad_thing/max_x = -270 bad_thing/min_y = 820 -- cgit v1.2.3