| 560 | // as soon as we create SvcClumpletReader |
| 561 | |
| 562 | static void parseString2(const char*& p, Auth::CharField& f, FB_SIZE_T& loop) |
| 563 | { |
| 564 | const FB_SIZE_T len = static_cast<FB_SIZE_T>(isc_vax_integer(p, sizeof(USHORT))); |
| 565 | |
| 566 | FB_SIZE_T len2 = len + sizeof(ISC_USHORT) + 1; |
| 567 | if (len2 > loop) |
| 568 | { |
| 569 | throw loop; |
| 570 | } |
| 571 | loop -= len2; |
| 572 | |
| 573 | p += sizeof(USHORT); |
| 574 | f.set(p, len); |
| 575 | p += len; |
| 576 | |
| 577 | LocalStatus s; |
| 578 | CheckStatusWrapper statusWrapper(&s); |
| 579 | |
| 580 | f.setEntered(&statusWrapper, 1); |
| 581 | check(&statusWrapper); |
| 582 | } |
| 583 | |
| 584 | static void parseLong(const char*& p, Auth::IntField& f, FB_SIZE_T& loop) |
| 585 | { |
no test coverage detected