Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9634

Telnet's EchoTcp() EchoUdp() should use a more complete test pattern

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Network Development Kit
    • NDK-478
    • NDK_3_70_00
    • NDK_3_75_00

      Each has a block like this:

      /* Fill buffer with a test pattern */
              for(i=0; i<test; i++)
                  *(pBuf+i) = (char)i;
      

      i gets casts to a char but test is configured to be at most 1024, so i will end up being truncated.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: