On Thu, Sep 26, 2019 at 03:54:31PM +0200, Miroslav Lichvar wrote:
> In port_synchronize(), when the clock returned SERVO_UNLOCKED and
> port_dispatch() triggered a switch of the PHC, the variable "s" would
> point to a servo which was already freed and the following call of
> servo_offset_threshold() would read invalid memory.
> 
> Don't save the servo before dispatching the port.
> 
> Signed-off-by: Miroslav Lichvar <mlich...@redhat.com>
> Fixes: 3f5f5653d796 ("port: Add interval update mechanism.")

Applied.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to