bugutil-vserver - Bugs: bug #13672, fake-rpm getting incorrect...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13672: fake-rpm getting incorrect uids/gids on x86_64 (and all non-32bit platforms)

Submitted by:  Jan Rekorajski <baggins>
Submitted on:  Thu 07 Jul 2005 12:22:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Enrico Scholz <ensc>
Open/Closed: ClosedComponent Version: alpha
Release: 0.30.207

Thu 07 Jul 2005 12:28:56 PM UTC, comment #1:

thx; I saw this some days ago also. CVS solves it in the opposite way (using uint32_t instead of size_t in rpm-fake.c)

Enrico Scholz <ensc>
Project AdministratorIn charge of this item.
Thu 07 Jul 2005 12:22:55 PM UTC, original submission:

I've been getting random gids when building vserver with help
of the vrpm. The cause is that fake-rpm.so sends size_t sized number and rpm-fake-resolver reads it as uint32_t sized. This caused the following write-read sequence to first get
the remaining 4 bytes of size_t and then rest of the data, thus rpm-fake-resolver was getting randomness instead of user/group name.
Atteched patch fixes this by setting data to be size_t type
on both end of this communication.

Jan Rekorajski <baggins>

 

Attached Files
file #3188:  util-vserver-size_t.patch added by baggins (528B - application/octet-stream - use size_t on both ends for rpm-fake communcation)

 

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 07 Jul 2005 12:28:56 PM UTCenscStatusNone=>Fixed
  Assigned toNone=>ensc
  Open/ClosedOpen=>Closed
Thu 07 Jul 2005 12:22:55 PM UTCbagginsAttached File-=>Added util-vserver-size_t.patch, #2673

Back to the top


Powered by Savane 3.1-cleanup1