bugGnash - The GNU Flash player - Bugs: bug #17466, It can kill all my processes!!

 
 

bug #17466: It can kill all my processes!!

Submitted by:  None
Submitted on:  Fri 18 Aug 2006 07:55:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 18 Aug 2006 10:45:26 PM UTC, comment #1:

Firstly, this code currently only exists in the klash code, so that's why it doesn't occur with the mozilla plugin.

Secondly, the only way

::kill (-1 * ::getpid (), SIGTERM);

can map to

kill (-1, SIGTERM);

if is getpid() returns one, and that seems.. well, impossible.

Thirdly, plugin/klash will be replaced by gui/klash.

However, just to be on the safe side, I'll add a check to fix this bug.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Fri 18 Aug 2006 07:55:00 PM UTC, original submission:

The following code in gnash has the potential to kill all my processes, possibly causing loss of valuable data:

void (*oldhandler)(int) = signal(SIGTERM, SIG_IGN);
::kill (-1 * ::getpid (), SIGTERM);
signal(SIGTERM, oldhandler);

I don't even dare to try it, but according to Debian BTS [1], the following site can be used to reproduce it:

http://www.mobuzz.com/vlog/index_en.html

Note: I don't know C++ and don't understand what the "::" means, but according to the Debian bug, an strace will reveal that "kill(-1, SIGTERM)" is issued.

[1] See http://bugs.debian.org/374996

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 19 Aug 2006 06:53:15 PM UTCbjacquesStatusNone=>Fixed
  Assigned toNone=>bjacques
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1