No, I did not check any uninitialized value or something. My sentences are clear but I guess you wanted to ask to make sure, I got your point.
My problem got resolved after migrating, https://github.com/KxSystems/kdb/blob/master/c/c/k.h
This is a new version, we were using an older version.