Hi I have submitted an issue: https://github.com/SELinuxProject/selinux/issues/343 to and a proposed fix for it on a draft PR: https://github.com/SELinuxProject/selinux/pull/342 Maybe there is a better way of doing this but if this looks like a good starting point, I will continue by adding some input validation. If there are any pointers it would be helpful. New to C here... Thanks. -- Joseph Marrero