probe procfs("foo").read.maxsize(10) { $return .= "hello hello hello hello hello hello" } ... should signal an error or warning, so that a stap script user can tell that her buffer was too small. (We already detect the overflow, just don't signal it.)
Fixed in commit 3eea5e1066e47b528bff0d92546ef08af110ad13.