Fix scope of memset from 35ff7c6.
Fix license text in multiple files.