MFH: r452308
Fix out of bounds memory read when reading bar input.
Add patch from upstream git that fixes an out of bounds read and possible
write if the bar action script returns a NULL as the first character.
It is unclear if this can cause any security issues, but I feel it's prudent
to fix the issue.
Approved by: portmgr (swills)