Fix array out of bounds access caused by uninitialised variables
Attach a file by drag & drop or click to upload