commit | 1df96ad013a8316220762cbe11962e0d6ad308bb | [log] [tgz] |
---|---|---|
author | Alexander Williams <awill@google.com> | Thu Jul 14 17:31:55 2022 -0700 |
committer | Alex Williams <a-will@users.noreply.github.com> | Fri Jul 15 09:40:48 2022 -0700 |
tree | 2684f225a60f78bce351a81d33e2d5442ad44031 | |
parent | e0513818eeb624fd1e0ee289c790197def476eb0 [diff] |
[usb_testutils] Avoid buffer double-free The control endpoint code had a path that would lead to a double return of the buffer. Check that the buffer is still active before calling the DIF to return it. This case is due to the buffer read function automatically returning the buffer underneath when all data has been read. Signed-off-by: Alexander Williams <awill@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).