NetBSD/external/bsd/tmux
kamil eb8a7705cd Avoid UB in tmux/window_copy_add_formats()
Do not perform NULL pointer arithmetics.

Reported with MKSANITIZER/UBSan.

The patch proposed by upstream https://github.com/tmux/tmux/issues/1382
2018-06-25 18:41:25 +00:00
..
dist Avoid UB in tmux/window_copy_add_formats() 2018-06-25 18:41:25 +00:00
share new example file 2016-08-31 17:27:37 +00:00
usr.bin merge conflicts 2017-10-12 22:17:34 +00:00
Makefile Add reachover Makefiles for the build of tmux. 2011-03-10 09:18:00 +00:00
prepare-import.sh merge conflicts 2017-04-23 02:01:59 +00:00
README merge conflicts 2017-04-23 02:01:59 +00:00

$NetBSD: README,v 1.3 2017/04/23 02:01:59 christos Exp $

To update tmux to a new version:

- Build the package from pkgsrc and write down all -D flags passed to the
  compiler.  Autoconf is not generating a config.h file, so this is the
  best we can do to get the build-time settings in place.
- Use prepare-import.sh to regenerate the dist directory.
- Update usr.bin/tmux/Makefile to sync the CPPFLAGS to the list of -D flags
  gathered earlier on.
- Update the list of source files in usr.bin/tmux/Makefile with the new
  dist/*.c listing.
- cvs import the contents of the new dist directory.
- Fix merge conflicts, if any.
- Commit the changes to the reachover Makefiles.
- Update doc/3RDPARTY with the new tmux version.
- Add a note to doc/CHANGES about the new version.