Ignore:
Timestamp:
Mar 3, 2015, 5:11:26 PM (10 years ago)
Author:
stoecker
Message:

proper size check for ephemeris

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r6610 r6626  
    387387#endif /* NO_RTCM3_MAIN */
    388388    case 1019:
     389      if(size == 59)
    389390      {
    390391        struct gpsephemeris *ge;
     
    450451      break;
    451452    case RTCM3ID_BDS:
     453      if(size == 64)
    452454      {
    453455        struct bdsephemeris *be;
     
    508510      break;
    509511    case 1043:
    510       if(handle->GPSWeek)
     512      if(size == 27 && handle->GPSWeek)
    511513      {
    512514        struct sbasephemeris *gs;
     
    560562      break;
    561563    case 1044:
     564      if(size == 59)
    562565      {
    563566        struct gpsephemeris *ge;
     
    674677      break;
    675678    case 1020:
     679      if(size == 43)
    676680      {
    677681        struct glonassephemeris *ge;
Note: See TracChangeset for help on using the changeset viewer.