Merge pull request #4278 from shuffle2/sc-quickfix quick fix to prevent heap corruption in sysconf code