bugGluster - Bugs: bug #17284, glusterfsd - file_context address...

 
 

bug #17284: glusterfsd - file_context address passed back as fd

Submitted by:  Anand Avati <avati>
Submitted on:  Thu 03 Aug 2006 03:06:15 PM UTC  
 
Category: GlusterFSSeverity: 6 - Security
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 10 Aug 2006 02:12:01 AM UTC, comment #1:

a linked list is maintained per socket connection, where a entry gets added in every open and gets freed in every release. In case of socket close inbetween, release function of attached xlator is called.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Thu 03 Aug 2006 03:06:15 PM UTC, original submission:

the address of the struct file_context allocated is returned as the fd to the brick. This should be changed to an index number in a socket-private list of file_contexts and the address should be derived form the index number which is returned to the Brick.

Anand Avati <avati>
Project Member

 

(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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 10 Aug 2006 02:12:01 AM UTCamartsStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Fri 04 Aug 2006 12:54:06 AM UTCamartsStatusNone=>In Progress
Thu 03 Aug 2006 09:52:03 PM UTCavatiAssigned toNone=>amarts

Back to the top


Powered by Savane 3.1-cleanup1