The Haiku operating system
Go to file
Adrien Destugues f40841ac86 BNetworkRequest: fix _GetLine on empty lines.
On an empty line terminated by \n, we would access the temporary buffer
(stack allocated) with an index of (uint32)-1. On 32bit machine this
would just read the byte before the array on the stack, but on 64bit it
would crash.

Check that the length is at least 1 before trying to access a character
in the array.

Fixes #13625.

Thanks to accessays for proofreading the code:
2017-07-28 21:59:19 +02:00
3rdparty Revert "Revert "Switch from DejaVu to Noto font"" 2017-02-19 12:09:33 -05:00
build aarch64: Add aarch64 build host support 2017-07-27 18:45:54 -05:00
data PDF Writer & PDFlib: Remove from tree. 2017-07-01 18:46:58 -04:00
docs DiskUsage docs: update screenshots. 2017-07-22 11:30:52 +02:00
headers aarch64: Add aarch64 build host support 2017-07-27 18:45:54 -05:00
src BNetworkRequest: fix _GetLine on empty lines. 2017-07-28 21:59:19 +02:00
.gitignore
configure configure: Bumped GCC version to 2.95.3-haiku-2017_07_20. 2017-07-20 10:01:20 +02:00
Jamfile Includes libpng16 instead of libpng. 2017-06-26 17:54:24 +02:00
Jamrules
License.md LICENSE: Rename to License.md, and remove all licenses but the MIT. 2016-07-29 17:36:17 -04:00
ReadMe.Compiling.md
ReadMe.md Partially revert "ReadMe & docs: The Haiku Book has moved to www.haiku-os.org/docs/api." 2017-02-01 15:23:54 -05:00

Haiku

Homepage | Mailing Lists | IRC Channels | Issue Tracker | API docs

Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.

Goals

  • Sensible defaults with minimal configuration required.
  • Clean, clear, concise code.
  • Unified desktop environment.

Trying Haiku

Haiku provides pre-built nightly images and release images. Haiku is compatible with a large variety of hardware, but in case you don't want to "take the plunge" and install Haiku on bare metal, you can install it on a virtual machine (VM) instead. If you've never used a VM before, you can follow one of the "Emulating Haiku" guides.

Compiling Haiku

See ReadMe.Compiling.

Contributing

Haiku is a meritocratic open source project with a large variety of tasks. Even if you can't write code, you can still help! Haiku needs designers, (technical) writers, translators, testers... Get involved and help out!

Contributing code

If you're submitting a patch to us, please make sure you're following the patch submitting guidelines.

If you're having trouble finding something in the source tree, you can use one of our OpenGrok servers:

Contributing documentation

The main piece of documentation that still needs work are the API docs (found in the tree at docs/user). Just find an undocumented class, write documentation for it, and submit a patch.

Contributing translations

See wiki:i18n.

Contributing software ports

See HaikuPorts.