parlib: Catch illegal block attempts