bugThe GNU Hurd - Bugs: bug #19479, Using a buggy trivfs translator to...

 
 

bug #19479: Using a buggy trivfs translator to kill you shell

Submitter:  Thomas Schwinge <tschwinge>
Submitted:  Sun 01 Apr 2007 01:15:00 PM UTC
   
 
Category:  Hurd Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Aug 2013 11:04:34 AM UTC, comment #1: 

This is easily explained, the shell isn't handling or ignoring SIGLOST:


% settrans -ca node ./memfile
% /bin/echo something > node
[1]    24909 resource lost  /bin/echo something > node
% settrans -ca node ./memfile
% trap 'echo oops >&2' 32
% echo something > node
something
oops
echo: write error: (ipc/mig) server died
%


(My zsh is funny, why is something printed to the terminal instead?)

Justus Winter <teythoon>
Group Member
Sun 01 Apr 2007 01:15:00 PM UTC, original submission:  

This translator has the powers to kill itself, plus your shell (!) and maybe the screen session as well and maybe your sshd instance as well.

Everything is described in the attached `memfile.c'.

Thomas Schwinge <tschwinge>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #12364:  memfile.c added by tschwinge (3KiB - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by teythoon (Posted a comment)
  • -email is unavailable- added by tschwinge (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-08 teythoon StatusNone Invalid
        Open/ClosedOpen Closed
    2007-04-01 tschwinge Attached File- Added memfile.c, #12364

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code