Skip to content

Commit 28ff3f2

Browse files
MarekPietarlubos
authored andcommitted
caf: sensor_manager: Add known issue (NULL dereferencing on wakeup)
Describe known issue related to possible NULL dereferencing while handling wake_up_event if a sensor does not support trigger. Jira: NCSDK-13247 Signed-off-by: Marek Pieta <[email protected]>
1 parent 2c97345 commit 28ff3f2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/nrf/known_issues.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,14 @@ NCSDK-10196: DFU fails for some configurations with the quick session resume fea
871871
Common Application Framework (CAF)
872872
==================================
873873

874+
.. rst-class:: v1-8-0
875+
876+
NCSDK-13247: Sensor manager dereferences NULL pointer on wake up for sensors without trigger
877+
:ref:`caf_sensor_manager` dereferences NULL pointer while handling a :c:struct:`wake_up_event` if a configured sensor does not use trigger.
878+
This leads to undefined behaviour.
879+
880+
**Workaround** Manually cherry-pick and apply commit with fix from main (commit hash: ``3db6da76206d379c223afe2de646218e60e4f339``).
881+
874882
.. rst-class:: v1-8-0 v1-7-1 v1-7-0 v1-6-1 v1-6-0
875883

876884
NCSDK-13058: Directed advertising does not work

doc/nrf/releases/release-notes-changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ Common Application Framework (CAF)
197197
``MODULE_ID`` macro and :c:func:`module_id_get` function now returns module reference from dedicated section instead of module name.
198198
The module name can not be obtained from reference object directly, a helper function (:c:func:`module_name_get`) should be used instead.
199199
* Fixed the NCSDK-13058 known issue related to directed advertising in CAF.
200+
* Fixed NULL dereferencing in :ref:`caf_sensor_manager` during :c:struct:`wake_up_event` handling for sensors that do not support trigger.
200201

201202
Bootloader libraries
202203
--------------------

0 commit comments

Comments
 (0)