Closed i386x closed 3 years ago
You are right, this is an issue and I have fixed it now in commit 7a432b0bcd76cbd6a79925cde213f5d9073df137. See that also blkno
was incorrectly calculated (due to autoincrement in for-loop). Anyway, wrudf is currently unmaintained and it is possible that there are more similar failures and crashes. If you are interested in fixing wrudf, fell free to provide patches.
Thanks for the fast resolution!
In function
initialize()
, please look at this code snippet (starting at line 158):When
readTaggedBlock()
returnsNULL
,!inMainSeq
evaluates to false andp
in switch statement will have the valueNULL
. I am not a UDF expert, but shouldn't the code above look something like this?