Menu

#165 VxWorks vos_dottedIP bug

1.4.0.0
closed
1670 (1)
2017-07-24
2017-07-24
No

In src/vxworks/vos_sock.c the function vos_dottedIP is not implemented correctly. Namely the line

"if (inet_aton((CHAR8*)pDottedIP, &addr) <= 0)" will always be true because inet_aton either returns OK (0) or ERROR (-1).

it should either be != OK or < 0.

Discussion

  • Armin-Hagen Weiss

    • status: unread --> accepted
    • assigned_to: Armin-Hagen Weiss
    • Milestone: 1.3.3.0 --> 1.4.0.0
     
  • Armin-Hagen Weiss

    • labels: --> 1670
    • status: accepted --> closed
     
  • Armin-Hagen Weiss

    • summary: VxWorks vos vos_dottepIP bug --> VxWorks vos_dottedIP bug
     

Log in to post a comment.

MongoDB Logo MongoDB