commit - 4d595292ee725266b7313feac1be0f588955b3d6
commit + f3870eac196bf7bdcedf3aceeba7501d5211b9ae
blob - 1554ffd8ecc3d1fd2aa87ff0441ce6c424034e81
blob + 9828b17dceba9daaa0db392d31bde067fe8c2c83
--- FICS/obsproc.c
+++ FICS/obsproc.c
fclose(fpHist);
- /* Validate 'when' before using it in a path */
- if (when <= 0 || when > 9999999999L) {
- pprintf(p, "Corrupt history data for %s (invalid timestamp).\n", parray[p1].name);
+ if (when < 0) {
+ pprintf(p, "Corrupt history data for %s (invalid timestamp).\n",
+ parray[p1].name);
return NULL;
}