Project

General

Profile

Bug #12057

Writing part of the string to stderr makes zlogin exit

Added by Alexander Pyhalov about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Login to running zone with zlogin and run the following sample program:

#include <stdio.h>

int main()
{

  char *word=".";

  fputs(&word[1], stderr);
  fflush(stderr);

 return 0;
}       

Console session will be terminated with SIGHUP.

Reproducible on illumos-ad3e6d4dd8 (November 2019).


Related issues

Related to illumos gate - Bug #12286: Terminal gets SIGHUP in Global Zone after 'npm' command is runNew

Actions
Related to illumos gate - Bug #12306: XPG4v2 slave pty behaviour should generally be disabledClosedAndy Fiddaman

Actions

Also available in: Atom PDF