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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

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

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    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.16-ed84.
    Corresponding source code