thephoeron/cl-isaac

Self seed TYPE-ERROR

Closed this issue · 2 comments

On a fresh Ubuntu 22.04.1 LTS with sbcl 2.2.9 compiled with --fancy

* (ql:quickload :cl-isaac)
To load "cl-isaac":
  Load 1 ASDF system:
    cl-isaac
; Loading "cl-isaac"

(:CL-ISAAC)
* (isaac:init-self-seed :is64 t)

debugger invoked on a TYPE-ERROR @53588C79 in thread
#<THREAD "main thread" RUNNING {10045E8253}>:
  The value
    10893305853531014082560
  is not of type
    (UNSIGNED-BYTE 64)

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(CL-ISAAC:GENERATE-NEXT-ISAAC64-BLOCK #S(CL-ISAAC:ISAAC64-CTX :RANDCNT 0 :RANDRSL #(16547972179494036899 9708444209684824475 8655519797196879704 14749124083405532485 6376240231094285444 18139667563087562089 14598417845439675695 16149493994076365071 15825376850622213781 16725646190253595372 15417830955150650585 1871938771190817803 ...) :RANDMEM #(16049801831406887843 7182649405026025239 7815722172752102265 17934961857329736960 10833401711503025226 9436644778462398273 4506268428565675060 7220563949238654772 7111204305939307881 8409880802846932020 11843726085848793366 7319015878117112450 ...) :A 2659498499397220235 :B 9708444209684824475 :C 1))
   source: (THE (UNSIGNED-BYTE 64)
                (ASH (ISAAC64-CTX-A CTX)
                     (ECASE (LOGAND I 3) ((0) 21) ((1) -5) ((2) 12) ((3) -33))))
0] 

This is with safety 3 Speed 0.

I'm sorry I didn't see this sooner, ProtonMail flagged the original notification email as a phishing attempt, so I didn't see it until you added another comment this morning and the thread actually made it into my inbox.

Will investigate. And also reenable direct notifications on the GitHub app.