commit | 7306e3dd6f764ff28338880cc573bc6069c8848a | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Wed Apr 17 16:26:32 2024 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Wed Apr 17 16:41:38 2024 -0700 |
tree | 6f7c049ec1135e30452b6d046389bd69f87b2ab4 | |
parent | fdc0761fd04f1c388bdcb99dd6d38dda050ad24d [diff] |
binary_search_tree: Add missing type check for bst_search_type The caller passed an item to bst_search_type that did not match the specified type without getting a compile error as long as item also had a member with the same name. As a result the compare function would get a pointer passed to an object with the wrong type. Bug: 335515844 Change-Id: I85695b8aaf4463a117de1f3a9a9b0f9acb72ada1
The LK embedded kernel. An SMP-aware kernel designed for small systems.
See https://github.com/littlekernel/lk for the latest version.
See https://github.com/littlekernel/lk/wiki for documentation.
This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.
note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from http://newos.org/toolchains/arm-eabi-5.3.0-Linux-x86_64.tar.xz