adriangibbons / php-fit-file-analysis

A PHP class for analysing FIT files created by Garmin GPS devices
MIT License
126 stars 49 forks source link

Error processing FIT files caused by invalid $architecture variable #68

Open riccode opened 3 years ago

riccode commented 3 years ago

Some FIT files I've processed recently are throwing an error because LINE 1389 returns a value for $architecture which causes an error on LINE 1392 because the value is outside the index of $this->endianness.

Values of $architecture that have been logged recently are 25,121,195.