Menu

Issue

Kumar Ash
2022-02-19
2022-02-19
  • Kumar Ash

    Kumar Ash - 2022-02-19

    First of all, thank you for the wonderful library !!!

    I don't have permission to create ticket, but in latest version (0.6.0 Nov 05 '21), there is an issue in diameter.py::getPacket()::lineNo1069. It is reading extra 4 bytes.

    while bytes_recd < msg_len - 4:
        chunk = existing_connection.recv(min(msg_len - bytes_recd, 2048))
    

    The line should be -

    while bytes_recd < msg_len - 4:
        chunk = existing_connection.recv(min(msg_len - bytes_recd - 4, 2048))
    

    Best Regards
    Ash

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.