Instant Terminal Sharing
Go to file
Micah Cowan b2e752b384 Don't try to use a window-link that may have been freed.
In the case where a join-pane is performed from within a grouped session,
and the source pane had no siblings in the window (causing the window to
be destroyed), there was an invalid access of the destination window
link (which had been destroyed as part of the group session's
resynchronization with the original session, due to killing the
now-empty source window).
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	cmd-join-pane.c
CVS: ----------------------------------------------------------------------
2010-04-09 07:09:37 +00:00
compat Adjust recent libevent changes to the portable version. 2009-11-08 22:51:34 +00:00
examples Update. 2010-02-26 13:33:22 +00:00
tools Bump VERSION. 2010-03-10 15:16:19 +00:00
www Mention dependencies. 2010-03-10 22:13:17 +00:00
array.h Sync OpenBSD patchset 640: 2010-02-08 18:29:32 +00:00
attributes.c Sync OpenBSD patchset 566: 2009-11-28 14:46:23 +00:00
cfg.c Sync OpenBSD patchset 640: 2010-02-08 18:29:32 +00:00
CHANGES Update CHANGES, and NOTES for the 1.2 release. 2010-03-10 15:18:11 +00:00
client.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
clock.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-attach-session.c Sync OpenBSD patchset 639: 2010-02-08 18:27:34 +00:00
cmd-bind-key.c Sync OpenBSD patchset 614: 2010-01-25 17:12:44 +00:00
cmd-break-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-capture-pane.c Sync OpenBSD patchset 612: 2010-01-22 17:29:19 +00:00
cmd-choose-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-choose-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-choose-window.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-clear-history.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-clock-mode.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-command-prompt.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-confirm-before.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-copy-buffer.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-copy-mode.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
cmd-delete-buffer.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-detach-client.c Sync OpenBSD patchset 639: 2010-02-08 18:27:34 +00:00
cmd-display-message.c Sync OpenBSD patchset 561: 2009-11-28 14:39:53 +00:00
cmd-display-panes.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-find-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-generic.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-has-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-if-shell.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-join-pane.c Don't try to use a window-link that may have been freed. 2010-04-09 07:09:37 +00:00
cmd-kill-pane.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-kill-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-kill-session.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-kill-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-last-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-link-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-list-buffers.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-list-clients.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-commands.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-keys.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-list-panes.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-list-sessions.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-windows.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-list.c Reset output functions too when changing client after attaching. 2010-03-18 21:06:40 +00:00
cmd-load-buffer.c Sync OpenBSD patchset 652: 2010-02-26 13:30:07 +00:00
cmd-lock-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-lock-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-lock-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-move-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-new-session.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
cmd-new-window.c Nuke unused functions. 2010-03-27 15:12:56 +00:00
cmd-next-layout.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-next-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-paste-buffer.c Dead assignment. 2010-04-06 21:59:37 +00:00
cmd-pipe-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-previous-layout.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-previous-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-refresh-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-rename-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-rename-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-resize-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-respawn-window.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-rotate-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-run-shell.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-save-buffer.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-select-layout.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-select-pane.c Support up, down, left, right movement through panes with -UDLR flags to 2010-03-15 22:03:38 +00:00
cmd-select-prompt.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-select-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-send-keys.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-send-prefix.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-server-info.c Sync OpenBSD patchset 585: 2009-12-10 16:59:02 +00:00
cmd-set-buffer.c Sync OpenBSD patchset 569: 2009-11-28 14:54:12 +00:00
cmd-set-environment.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-set-option.c Sync OpenBSD patchset 653: 2010-02-26 13:31:39 +00:00
cmd-set-window-option.c Sync OpenBSD patchset 580: 2009-12-04 22:11:23 +00:00
cmd-show-buffer.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-show-environment.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-show-messages.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-show-options.c Sync OpenBSD patchset 585: 2009-12-10 16:59:02 +00:00
cmd-show-window-options.c Sync OpenBSD patchset 580: 2009-12-04 22:11:23 +00:00
cmd-source-file.c Sync OpenBSD patchset 640: 2010-02-08 18:29:32 +00:00
cmd-split-window.c Sync OpenBSD patchset 604: 2010-01-08 16:31:35 +00:00
cmd-start-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-string.c Sync OpenBSD patchset 649: 2010-02-26 13:27:38 +00:00
cmd-suspend-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-swap-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-swap-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-switch-client.c Sync OpenBSD patchset 614: 2010-01-25 17:12:44 +00:00
cmd-unbind-key.c Sync OpenBSD patchset 614: 2010-01-25 17:12:44 +00:00
cmd-unlink-window.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd.c Support up, down, left, right movement through panes with -UDLR flags to 2010-03-15 22:03:38 +00:00
colour.c Sync OpenBSD patchset 322: 2009-09-11 14:13:52 +00:00
compat.h Adjust recent libevent changes to the portable version. 2009-11-08 22:51:34 +00:00
configure FreeBSD kqueue is broken before 8. 2010-04-05 22:28:25 +00:00
environ.c Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
FAQ +. 2010-02-04 21:01:59 +00:00
GNUmakefile Working on 1.3. 2010-03-10 15:44:13 +00:00
grid-utf8.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
grid-view.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
grid.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
input-keys.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
input.c New input parser based on http://vt100.net/emu/dec_ansi_parser. 2010-03-15 12:51:23 +00:00
job.c Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
key-bindings.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
key-string.c Sync OpenBSD patchset 608: 2010-01-17 19:01:27 +00:00
layout-set.c Sync OpenBSD patchset 631: 2010-02-05 01:29:04 +00:00
layout-string.c Sync OpenBSD patchset 603: 2010-01-08 16:28:04 +00:00
layout.c Sync OpenBSD patchset 604: 2010-01-08 16:31:35 +00:00
log.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
Makefile Working on 1.3. 2010-03-10 15:44:13 +00:00
mode-key.c Jump-forward, jump-backward in copy mode, based on vi's F and f commands. 2010-03-16 17:30:58 +00:00
names.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
NOTES Update CHANGES, and NOTES for the 1.2 release. 2010-03-10 15:18:11 +00:00
options.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
osdep-darwin.c Space trimmage mega-diff. 2009-05-04 17:58:27 +00:00
osdep-freebsd.c Nuke dead variable here as well, in accordance to OpenBSD patchset 235. 2009-08-09 18:00:45 +00:00
osdep-linux.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
osdep-netbsd.c Should be bestp now. 2009-09-24 12:30:22 +00:00
osdep-openbsd.c Sync OpenBSD patchset 592: 2009-12-26 23:48:37 +00:00
osdep-sunos.c Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname. 2009-10-15 07:11:25 +00:00
osdep-unknown.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
paste.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
resize.c Sync OpenBSD patchset 352: 2009-09-25 17:47:42 +00:00
screen-redraw.c Sync OpenBSD patchset 632: 2010-02-05 01:31:06 +00:00
screen-write.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
screen.c From Bob Beck: 2010-04-06 22:01:32 +00:00
server-client.c Sync OpenBSD patchset 639: 2010-02-08 18:27:34 +00:00
server-fn.c Stupid style nits. 2010-04-06 21:45:36 +00:00
server-window.c Sync OpenBSD patchset 648: 2010-02-26 13:26:44 +00:00
server.c there can be only one rpathbuf 2010-04-08 07:54:43 +00:00
session.c Sync OpenBSD patchset 591: 2009-12-26 23:45:21 +00:00
status.c Stupid style nits. 2010-04-06 21:45:36 +00:00
tmux.1 Man page sync. 2010-04-06 22:02:03 +00:00
tmux.c Sync OpenBSD patchset 653: 2010-02-26 13:31:39 +00:00
tmux.h Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
TODO +. 2010-04-05 22:28:56 +00:00
tty-keys.c Accept a full key match (not a partial) even if there is data left in 2010-03-15 20:44:51 +00:00
tty-term.c FreeBSD 6.x has a bug and crashes in del_curterm, so ifdef it out on that 2009-12-18 07:42:30 +00:00
tty.c Sync OpenBSD patchset 656: 2010-03-08 14:53:49 +00:00
utf8.c Sync OpenBSD patchset 424: 2009-10-23 17:21:34 +00:00
window-choose.c Sync OpenBSD patchset 629: 2010-02-02 23:55:21 +00:00
window-clock.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
window-copy.c Unbreak. Whoops. 2010-04-06 22:02:52 +00:00
window.c Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
xmalloc.c Sync OpenBSD patchset 467: 2009-10-28 23:12:38 +00:00
xterm-keys.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00