Revert "fixed: CID 719032 Copy into fixed size buffer"

This reverts commit f696216f4f14fc36c9653363bcbac277bde25c35. (sizeof misuse)
Revert "fixed: CID 719030 Copy into fixed size buffer"

This reverts commit 79e35d9cac9cc3bf871813262ea54e410206fd68. (sizeof misuse)
Revert "fixed: CID 719030 Copy into fixed size buffer"

´This reverts commit a72861ac87530d2b1ad94828200c4c5716429fa7. (sizeof misuse)
Merge pull request #6055 from fritsch/fix-coverity

Fix coverity: Some Reverts