File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 99 (dimensions (loop repeat array-rank
1010 collect (restore-tagged-unsigned-fixnum storage)))
1111 (displaced (funcall restore-object))
12- (array-total-size (reduce #' * dimensions)))
12+ (array-total-size (if dimensions ( reduce #' * dimensions) 0 )))
1313 (unless (and (typep array-total-size ' fixnum) (>= array-total-size 0 ))
1414 (unexpected-data " Array total size is too large" ))
1515 (check-if-too-much-data (read-storage-max-to-read storage) array-total-size )
Original file line number Diff line number Diff line change 705705 ; ; The below is a non-fixnum claiming to be in a fixnum array
706706 (finish
707707 (handler-case
708- (cl-binary-store :: restore # (21 5 3 127 127 127 127 127 127 127 127 ))
708+ (restore # (21 5 3 127 127 127 127 127 127 127 127 ))
709709 (invalid-input-data ())))
710710 (finish
711711 (handler-case
712- (cl-binary-store :: restore # (21 5 3 127 127 127 127 127 127 127 127 ))
712+ (restore # (21 5 3 127 127 127 127 127 127 127 127 ))
713713 (invalid-input-data ()))))
714714
715+
716+ (define-test other-fuzzing-tests
717+ (finish
718+ (handler-case
719+ (restore # (24 53 197 0 44 60 123 20 ))
720+ (invalid-input-data ()))))
You can’t perform that action at this time.
0 commit comments