| 255 | */ |
| 256 | |
| 257 | static void AS_SkipLine( void ) |
| 258 | { |
| 259 | if ( parsePos > parseSize ) // needed to avoid a crash because of some OOR access that shouldn't be done |
| 260 | return; |
| 261 | |
| 262 | while ( (parseBuffer[parsePos] != '\n') && (parseBuffer[parsePos] != '\r') ) |
| 263 | { |
| 264 | parsePos++; |
| 265 | |
| 266 | if ( parsePos > parseSize ) |
| 267 | return; |
| 268 | } |
| 269 | |
| 270 | parsePos++; |
| 271 | } |
| 272 | |
| 273 | /* |
| 274 | ------------------------- |
no outgoing calls
no test coverage detected