1
0
Fork 0
mirror of https://github.com/zephyrproject-rtos/zephyr.git synced 2026-04-16 12:37:11 +02:00
No description
  • C 67.2%
  • Max 23.1%
  • Python 4.5%
  • CMake 2%
  • C++ 1.5%
  • Other 1.6%
Find a file
Michael Hopfengaertner a3243a9230 modules: openthread: Fix uninitialized radio mac keys
This patches uninitialized prev and next mac key ids.
Previously `prev_key_id` and `next_key_id` were declared within
an if-block, but a reference to them was used outside of the block.
This is a lifetime violation and leads to undefined behavior.
It is particularly critical when the uninitialized `prev_key_id`
has (by coincidence) the same value as `cur_key_id`. In this case,
the mac key associated with `prev_key_id` is used which leads to
rx security errors on parent and child not being attached.

Signed-off-by: Michael Hopfengaertner <michael.hopfengaertner@tado.com>
2026-04-16 10:25:45 +02:00
.github actions: backport: append body of original PR to backport PR 2026-04-14 21:58:01 -04:00
arch arm64: mm: increase MAX_XLAT_TABLES for USERSPACE && TEST 2026-04-15 17:17:55 -04:00
boards drivers: i2c: add i2c target support for ambiq soc 2026-04-16 10:19:51 +02:00
cmake scripts: dashboard: serve via http server instead of opening file path 2026-04-16 10:14:44 +02:00
doc docs: update cpu_load metric index 2026-04-15 05:55:25 -04:00
drivers drivers: i2c: add pm_device_get/put in i2c_ambiq_ios 2026-04-16 10:19:51 +02:00
dts drivers: i2c: add i2c target support for ambiq soc 2026-04-16 10:19:51 +02:00
include/zephyr Bluetooth: BAP: Fix deligator typo 2026-04-15 17:16:13 -04:00
kernel kernel: move thread_entry from lib/os to kernel 2026-04-14 22:31:16 -04:00
lib kernel: move thread_entry from lib/os to kernel 2026-04-14 22:31:16 -04:00
LICENSES
misc
modules modules: openthread: Fix uninitialized radio mac keys 2026-04-16 10:25:45 +02:00
samples drivers: i2c: add i2c target support for ambiq soc 2026-04-16 10:19:51 +02:00
scripts scripts: dashboard: fix size report plot chart on Windows 2026-04-16 10:14:44 +02:00
share
snippets
soc modules: hal_nordic: nrfx: TAMPC CMake 2026-04-16 10:13:12 +02:00
submanifests
subsys debug: coresight: cs_trace_defmt: Fix uninitialized variable warning 2026-04-15 17:17:01 -04:00
tests arm64: mm: increase MAX_XLAT_TABLES for USERSPACE && TEST 2026-04-15 17:17:55 -04:00
.checkpatch.conf
.clang-format
.codechecker.yml
.codecov.yml
.editorconfig
.gitattributes
.gitignore
.gitlint
.mailmap
.ruff-excludes.toml west: runner: qemu: support flash/debug/debugserver 2026-04-15 05:51:31 -04:00
.ruff.toml
.yamllint
CMakeLists.txt
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.rst
Kconfig
Kconfig.constants
Kconfig.zephyr
LICENSE
MAINTAINERS.yml kernel: move userspace code to own folder 2026-04-14 22:31:16 -04:00
README.rst
REUSE.toml
SDK_VERSION
VERSION release: Bump version to 4.4.99 2026-04-14 16:37:59 -05:00
version.h.in
west.yml manifest: update hal_nordic revision 2026-04-15 17:16:51 -04:00
zephyr-env.cmd
zephyr-env.sh

.. raw:: html

   <a href="https://www.zephyrproject.org">
     <p align="center">
       <picture>
         <source media="(prefers-color-scheme: dark)" srcset="doc/_static/images/logo-readme-dark.svg">
         <source media="(prefers-color-scheme: light)" srcset="doc/_static/images/logo-readme-light.svg">
         <img src="doc/_static/images/logo-readme-light.svg">
       </picture>
     </p>
   </a>

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img src="https://bestpractices.coreinfrastructure.org/projects/74/badge"></a>
   <a href="https://scorecard.dev/viewer/?uri=github.com/zephyrproject-rtos/zephyr"><img src="https://api.securityscorecards.dev/projects/github.com/zephyrproject-rtos/zephyr/badge"></a>
   <a href="https://github.com/zephyrproject-rtos/zephyr/actions/workflows/twister.yaml?query=branch%3Amain"><img src="https://github.com/zephyrproject-rtos/zephyr/actions/workflows/twister.yaml/badge.svg?event=push"></a>


The Zephyr Project is a scalable real-time operating system (RTOS) supporting
multiple hardware architectures, optimized for resource constrained devices,
and built with security in mind.

The Zephyr OS is based on a small-footprint kernel designed for use on
resource-constrained systems: from simple embedded environmental sensors and
LED wearables to sophisticated smart watches and IoT wireless gateways.

The Zephyr kernel supports multiple architectures, including ARM (Cortex-A,
Cortex-R, Cortex-M), Intel x86, ARC, Tensilica Xtensa, and RISC-V,
SPARC, MIPS, and a large number of `supported boards`_.

.. below included in doc/introduction/introduction.rst


Getting Started
***************

Welcome to Zephyr! See the `Introduction to Zephyr`_ for a high-level overview,
and the documentation's `Getting Started Guide`_ to start developing.

.. start_include_here

Community Support
*****************

Community support is provided via mailing lists and Discord; see the Resources
below for details.

.. _project-resources:

Resources
*********

Here's a quick summary of resources to help you find your way around:

Getting Started
---------------

  | 📖 `Zephyr Documentation`_
  | 🚀 `Getting Started Guide`_
  | 🙋🏽 `Tips when asking for help`_
  | 💻 `Code samples`_

Code and Development
--------------------

  | 🌐 `Source Code Repository`_
  | 📦 `Releases`_
  | 🤝 `Contribution Guide`_

Community and Support
---------------------

  | 💬 `Discord Server`_ for real-time community discussions
  | 📧 `User mailing list (users@lists.zephyrproject.org)`_
  | 📧 `Developer mailing list (devel@lists.zephyrproject.org)`_
  | 📬 `Other project mailing lists`_
  | 📚 `Project Wiki`_

Issue Tracking and Security
---------------------------

  | 🐛 `GitHub Issues`_
  | 🔒 `Security documentation`_
  | 🛡️ `Security Advisories Repository`_
  | ⚠️ Report security vulnerabilities at vulnerabilities@zephyrproject.org

Additional Resources
--------------------
  | 🌐 `Zephyr Project Website`_
  | 📺 `Zephyr Tech Talks`_

.. _Zephyr Project Website: https://www.zephyrproject.org
.. _Discord Server: https://chat.zephyrproject.org
.. _supported boards: https://docs.zephyrproject.org/latest/boards/index.html
.. _Zephyr Documentation: https://docs.zephyrproject.org
.. _Introduction to Zephyr: https://docs.zephyrproject.org/latest/introduction/index.html
.. _Getting Started Guide: https://docs.zephyrproject.org/latest/develop/getting_started/index.html
.. _Contribution Guide: https://docs.zephyrproject.org/latest/contribute/index.html
.. _Source Code Repository: https://github.com/zephyrproject-rtos/zephyr
.. _GitHub Issues: https://github.com/zephyrproject-rtos/zephyr/issues
.. _Releases: https://github.com/zephyrproject-rtos/zephyr/releases
.. _Project Wiki: https://github.com/zephyrproject-rtos/zephyr/wiki
.. _User mailing list (users@lists.zephyrproject.org): https://lists.zephyrproject.org/g/users
.. _Developer mailing list (devel@lists.zephyrproject.org): https://lists.zephyrproject.org/g/devel
.. _Other project mailing lists: https://lists.zephyrproject.org/g/main/subgroups
.. _Code samples: https://docs.zephyrproject.org/latest/samples/index.html
.. _Security documentation: https://docs.zephyrproject.org/latest/security/index.html
.. _Security Advisories Repository: https://github.com/zephyrproject-rtos/zephyr/security
.. _Tips when asking for help: https://docs.zephyrproject.org/latest/develop/getting_started/index.html#asking-for-help
.. _Zephyr Tech Talks: https://www.zephyrproject.org/tech-talks