mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed endless loop with handcrafted POST header
SVN revision: 1152
This commit is contained in:
parent
c5f70a7108
commit
b170e1bfbe
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.524 2004/12/20 12:41:53 midas
|
||||||
|
Fixed endless loop with handcrafted POST header
|
||||||
|
|
||||||
Revision 1.523 2004/12/18 16:18:58 midas
|
Revision 1.523 2004/12/18 16:18:58 midas
|
||||||
Changed locale to 'C' for email header date
|
Changed locale to 'C' for email header date
|
||||||
|
|
||||||
@ -19747,10 +19750,10 @@ void decode_post(LOGBOOK * lbs, char *string, char *boundary, int length)
|
|||||||
|
|
||||||
while (*string == '-' || *string == '\n' || *string == '\r')
|
while (*string == '-' || *string == '\n' || *string == '\r')
|
||||||
string++;
|
string++;
|
||||||
}
|
} else
|
||||||
|
return; /* invalid request */
|
||||||
|
|
||||||
}
|
} while ((int) (string - pinit) < length);
|
||||||
while ((int) (string - pinit) < length);
|
|
||||||
interprete(lbs->name, "");
|
interprete(lbs->name, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user