#2507 closed defect (fixed)

Invalid watchdog iterator update during watchdog insert

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: highest Milestone: 4.11
Component: score Version: 4.11
Severity: blocker Keywords:
Cc: Blocked By:
Blocking:

Description

In case a new watchdog is inserted into an existing chain, the update of the watchdog iterators pointing to the next watchdog of the new watchdog is wrong. Instead of subtracting the delta interval of the new watchdog they must point to the new watchdog with an unchanged iterator delta interval.

Change History (2)

comment:1 Changed on Jan 4, 2016 at 9:23:44 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: newclosed

In a061f9d3c5c8da087199e7a6c607648b16f48b15/rtems:

score: Fix watchdog insert

Under certain conditions a new watchdog was inserted with a wrong
and very large delta interval due to a wrong iterator update.

Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d.

Close #2507.

comment:2 Changed on Jan 5, 2016 at 6:10:34 AM by Sebastian Huber <sebastian.huber@…>

In 9c615b7835f397698e0b8c41fa598180cee8ce7a/rtems:

score: Fix watchdog insert

Under certain conditions a new watchdog was inserted with a wrong
and very large delta interval due to a wrong iterator update.

Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d.

Close #2507.

Note: See TracTickets for help on using tickets.