Fix possible corruption in plist parsing.
Fix possible corruption in plist parsing.

This fix is also related to getline buffers handling. Avoid
using them as permament strings.

khorben/pkg,junovitch/pkg,junovitch/pkg,skoef/pkg,khorben/pkg,Open343/pkg,skoef/pkg,khorben/pkg,en90/pkg,en90/pkg,Open343/pkg