[ 
https://issues.apache.org/jira/browse/NET-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory closed NET-704.
-------------------------------
    Resolution: Abandoned

The PR was closed.

 

> NTPUDPClient does not check response packet pairing
> ---------------------------------------------------
>
>                 Key: NET-704
>                 URL: https://issues.apache.org/jira/browse/NET-704
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.6, 3.8.0
>            Reporter: Ondřej Fibich
>            Priority: Minor
>              Labels: easyfix, pull-request-available
>
> NTPUDPClient does not check the originate time of response to match the 
> transmit time of request. If the transmit time does not matches the originate 
> time, then the computed time information is invalid. This may happen in case 
> of:
>  * invalid server implementation,
>  * on packet lost/duplication if NTPUDPClient instance is used for multiple 
> requests.
> Fix is easy, getTime method could throw IOException in case of no match. 
> Patch: https://github.com/apache/commons-net/pull/92



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to