andreasgerstmayr/xorm:query-null-deref
master
Make sure that pLimitN is not `nil` before dereferencing the pointer.