FreeBSD src
Go to file
Domagoj Stolfa a877965fa3 dtrace: fix an out of bound read and a NULL pointer increment
In dt_cc.c when the provider is an empty string, accessing
strlen(pdp->dtpd_provider) - 1 will result in a pdp->dtpd_provider[-1]
access.

Similarly, in dt_ident.c, if p2 is a NULL pointer, doing a p2++ on it is
undefined behaviour.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	Google
Differential Revision:	https://reviews.freebsd.org/D30778
2021-06-17 13:52:32 -04:00
.cirrus-ci Cirrus-CI: retry pkg installation on failure 2021-06-02 22:41:20 -04:00
.github [skip ci] volunteer to maintain POSIX AIO 2021-05-30 17:21:12 -06:00
bin date.1: Remove mention of -d and -f flags 2021-06-16 09:18:56 +00:00
cddl dtrace: fix an out of bound read and a NULL pointer increment 2021-06-17 13:52:32 -04:00
contrib vis(3): avoid out-of-bounds stack buffer reads 2021-06-16 16:27:13 +01:00
crypto kerberos.8: Replace dead link 2021-05-16 01:37:09 -04:00
etc Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
gnu dialog: fix macro redefinition 2021-03-01 16:01:44 +01:00
include Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
kerberos5 kerberos5: fix the WITH_OPENLDAP build 2021-01-30 00:07:50 -06:00
lib Undefine HAVE_(DE)REGISTER_FRAME in llvm's config.h on arm 2021-06-16 20:27:39 +02:00
libexec rc.d: liberate powerd from ACPI dependency 2021-06-09 12:40:53 +03:00
release Add bcm2710-rpi-cm3.dtb to the list of DTBs being added. 2021-06-02 11:28:01 -06:00
rescue ping: add a ping6 hard link for backwards compatibility 2020-11-26 18:33:04 +00:00
sbin nextboot: Improve the shell code used to figure out the zpool name 2021-06-05 14:32:18 +00:00
secure crypt_r(3): fix reentrancy problems with DES 2021-06-15 11:06:40 +01:00
share crypto: Remove now-unused crypto_cursor_seg{base,len}. 2021-06-16 15:23:16 -07:00
stand stand: Fix __elfN(loadimage) return value 2021-06-06 16:44:46 -04:00
sys amd64 efirt: initialize vm_pages backing EFI runtime memory 2021-06-17 16:58:51 +03:00
targets Remove svnlite. 2021-06-11 14:56:41 -07:00
tests fusefs: support EVFILT_WRITE on /dev/fuse 2021-06-16 13:34:14 -06:00
tools netmap: pkt-gen: fix compilation issue 2021-06-15 21:33:07 +00:00
usr.bin truss: minor cleanup and pedantic warning fixes 2021-06-16 16:35:55 +01:00
usr.sbin bsdinstall: add a new mirror in Bulgaria 2021-06-17 21:07:37 +08:00
.arcconfig Remove history.immutable from .arcconfig 2021-04-13 12:36:25 +01:00
.arclint
.cirrus.yml Cirrus-CI: Use the default Git history depth 2021-06-07 18:50:18 -04:00
.clang-format clang-format: Avoid breaking after the opening paren of function definitions 2020-10-28 11:54:00 +00:00
.gitattributes
.gitignore gitignore: Add .clangd and .ccls-cache 2021-06-04 16:56:08 +08:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS
MAINTAINERS [skip ci] volunteer to maintain POSIX AIO 2021-05-30 17:21:12 -06:00
Makefile Remove 'make update'. 2021-06-11 14:56:28 -07:00
Makefile.inc1 Remove svnlite. 2021-06-11 14:56:41 -07:00
Makefile.libcompat libpmc: always generate libpmc_events.c 2021-05-31 17:39:05 -03:00
Makefile.sys.inc
ObsoleteFiles.inc crypto: Remove now-unused crypto_cursor_seg{base,len}. 2021-06-16 15:23:16 -07:00
README.md Whitespace cleanup 2021-03-12 19:57:58 +08:00
RELNOTES relnotes: fix wording for gconcat entry. 2021-06-14 17:52:59 -06:00
UPDATING updating: note recent removals 2021-06-12 22:21:28 -06:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Various commands and libraries under the GNU Public License. Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.