Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Michael Scott 0bd961647a net: lib: http: fix check for invalid body_start pointer
Recent commit fb7f6cfa97 ("net: lib: http: Fix invalid pointer
body_start") introduced logic to reset the response body_start pointer
when the response buffer was reused.

This check needs to be fixed so that it doesn't arbitrarily change
body_start when not needed.

The problem with the current check can be demonstrated by not setting
a response callback for request which generates a large response
spanning multiple packets.

In this case body_start is still valid (not reusing the response buffer
because there is no callback set), but it will be changed when the 2nd
packet is received and the "at" marker is located at the head of the
new packet (!= response_buffer).

Signed-off-by: Michael Scott <michael.scott@linaro.org>
2017-10-27 17:42:01 -04:00
.known-issues doc: Fix regexp in .known-issues networking.conf file 2017-10-09 14:35:21 +03:00
arch x86: fix CONFIG_DEBUG_INFO build error 2017-10-24 12:50:13 -07:00
boards serial: atmel_sam3: remove driver as it was deprecated 2017-10-26 06:10:21 +02:00
doc doc: eliminate many "expected" doc gen warnings 2017-10-20 19:34:45 -04:00
drivers drivers: ieee802154: uart: Do not send FCS bytes to peer 2017-10-26 14:51:56 +03:00
dts serial: atmel_sam3: remove driver as it was deprecated 2017-10-26 06:10:21 +02:00
ext ext: hal: stm32cube: provide build method for stm32f0 HAL/LL lib. 2017-10-23 12:31:47 +02:00
include sw_isr_table.h: fix includes 2017-10-27 16:08:54 -04:00
kernel kernel: fix bit clearing logic in _k_thread_group_leave 2017-10-27 10:56:58 -07:00
lib libc: Add support for static_assert 2017-10-25 10:43:38 -07:00
misc kernel: Provide only one _SYSCALL_HANDLER() macro 2017-10-16 13:42:15 -04:00
samples samples: lwm2m: reduce footprint of lwm2m conf 2017-10-26 09:25:56 +03:00
scripts sanitycheck: tone down verbose output 2017-10-27 10:55:12 -07:00
subsys net: lib: http: fix check for invalid body_start pointer 2017-10-27 17:42:01 -04:00
tests tests: context: Make legacy test to use ztest API 2017-10-26 14:51:00 +03:00
.checkpatch.conf checkpatch: define typedefsfile to deal with a few false positives 2017-10-09 10:43:05 -04:00
.gitattributes
.gitignore scripts: Convert gen_offset_header to Python 2017-07-24 11:20:04 -07:00
.gitlint scripts: allow "title" in commit titles 2017-09-15 16:36:49 -04:00
.mailmap
.shippable.yml ci: support building on master commits 2017-10-06 09:07:13 -04:00
CODEOWNERS boards: arm: Add support for TI MSP-EXP432P401R-LAUNCHXL 2017-10-19 12:16:11 -05:00
CONTRIBUTING.rst doc: reference github issues instead of jira 2017-10-03 12:09:02 -04:00
Kbuild build: remove unused Kconfig variables 2017-08-03 07:19:29 -05:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.zephyr kconfig: move dts Kconfigs to dts/ 2017-08-03 07:19:29 -05:00
LICENSE
Makefile dts: Limit search of device tree bindings to dts/bindings dir 2017-10-23 15:02:00 +02:00
Makefile.inc build: remove deprecated qemu/qemugdb targets 2017-08-03 11:48:55 -04:00
Makefile.test
README.rst doc: Add security issue tracking information 2017-10-06 18:12:30 -04:00
zephyr-env.sh env: Remove usage of -P in grep 2017-07-15 11:12:35 -07:00

README.rst

Zephyr Project
##############

.. raw:: html

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img
   src="https://bestpractices.coreinfrastructure.org/projects/74/badge"></a>
   <img
   src="https://api.shippable.com/projects/58ffb2b8baa5e307002e1d79/badge?branch=master">


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-M,
Intel x86, ARC, NIOS II, Tensilica Xtensa, and RISC V, and a large number of
`supported boards`_.

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

.. start_include_here

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

The Zephyr Project Developer Community includes developers from member
organizations and the general community all joining in the development of
software within the Zephyr Project. Members contribute and discuss ideas,
submit bugs and bug fixes, and provide training. They also help those in need
through the community's forums such as mailing lists and IRC channels. Anyone
can join the developer community and the community is always willing to help
its members and the User Community to get the most out of the Zephyr Project.

Welcome to the Zephyr community!

Resources
*********

Here's a quick summary of resources to find your way around the Zephyr Project
support systems:

* **Zephyr Project Website**: The https://zephyrproject.org website is the
  central source of information about the Zephyr Project. On this site, you'll
  find background and current information about the project as well as all the
  relevant links to project material.  For a quick start, refer to the
  `Zephyr Introduction`_ and `Getting Started Guide`_.

* **Releases**: Source code for Zephyr kernel releases are available at
  https://zephyrproject.org/downloads. On this page,
  you'll find release information, and links to download or clone source
  code from our GitHub repository.  You'll also find links for the Zephyr
  SDK, a moderated collection of tools and libraries used to develop your
  applications.

* **Source Code in GitHub**: Zephyr Project source code is maintained on a
  public GitHub repository at https://github.com/zephyrproject-rtos/zephyr.
  You'll find information about getting access to the repository and how to
  contribute to the project in this `Contribution Guide`_ document.

* **Samples Code**: In addition to the kernel source code, there are also
  many documented `Sample and Demo Code Examples`_ that can help show you
  how to use Zephyr services and subsystems.

* **Documentation**: Extensive Project technical documentation is developed
  along with the Zephyr kernel itself, and can be found at
  https://zephyrproject.org/doc.  Additional documentation is maintained in
  the `Zephyr GitHub wiki`_.

* **Issue Reporting and Tracking**: Requirements and Issue tracking is done in
  the Github issues system: https://github.com/zephyrproject-rtos/zephyr/issues.
  You can browse through the reported issues and submit issues of your own.

* **Security-related Issue Reporting and Tracking**: For security-related
  inquiries or reporting suspected security-related bugs in the Zephyr OS,
  please send email to vulnerabilities@zephyrproject.org.  We will assess and
  fix flaws according to our security policy outlined in the Zephyr Project
  `Security Overview`_.

  Security related issue tracking is done in JIRA.  The location of this JIRA
  is https://zephyrprojectsec.atlassian.net.

* **Mailing List**: The `Zephyr Mailing Lists`_ are perhaps the most convenient
  way to track developer discussions and to ask your own support questions to
  the Zephyr project community.
  You can also read through message archives to follow
  past posts and discussions, a good thing to do to discover more about the
  Zephyr project.

* **IRC Chatting**: You can chat online with the Zephyr project developer
  community and other users in our IRC channel #zephyrproject on the
  freenode.net IRC server. You can use the http://webchat.freenode.net web
  client or use a client-side application such as pidgin.


.. _supported boards: https://www.zephyrproject.org/doc/boards/boards.html
.. _Zephyr Introduction: https://www.zephyrproject.org/doc/introduction/introducing_zephyr.html
.. _Getting Started Guide: https://www.zephyrproject.org/doc/getting_started/getting_started.html
.. _Contribution Guide: https://www.zephyrproject.org/doc/contribute/contribute_guidelines.html
.. _Zephyr GitHub wiki: https://github.com/zephyrproject-rtos/zephyr/wiki
.. _Zephyr Mailing Lists: https://lists.zephyrproject.org/
.. _Sample and Demo Code Examples: https://www.zephyrproject.org/doc/samples/samples.html
.. _Security Overview: https://www.zephyrproject.org/doc/security/security-overview.html