bugGNU dbm - Bugs: bug #150, gdbm should handle read(2)...

 
 
Show feedback again

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

bug #150: gdbm should handle read(2) returning less data than it was asked for

Submitted by:  Honza Horak <hhorak>
Submitted on:  Tue Oct 4 15:31:57 2011  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Sun Nov 13 10:26:53 2011, comment #6:

Version 1.10 released today includes the fix.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Wed Oct 5 13:07:12 2011, comment #5:

Fixed this in repository.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Tue Oct 4 16:09:08 2011, comment #4:

Version 1.9.1 no longer uses read(2) by default. It maps entire file (or a chunk of it, if it's too bit) into memory. Nevertheless I'll try to reproduce it.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Tue Oct 4 15:56:27 2011, comment #3:

This report concerns gdbm 1.8.3. Does 1.9.1 behave the same way?

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Tue Oct 4 15:48:45 2011, comment #2:

There is a problem, that gdbm fails if read(2) returns less than the requested number of bytes.

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274417

Honza Horak <hhorak>
Tue Oct 4 15:45:32 2011, comment #1:

Same here: no access to https://bugzilla.redhat.com/show_bug.cgi?id=572900

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Tue Oct 4 15:31:57 2011, original submission:

This bug was originally reported in
https://bugzilla.redhat.com/show_bug.cgi?id=572900

Please see the link above to get more info.

Honza Horak <hhorak>

 

Attached Files
file #113:  gdbm-1.9.1-shortread.patch added by hhorak (4kB - text/x-patch - Proposed patch already used in Fedora)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by hhorak (Submitted the item)
  •  

    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):

     

     

    6 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 13 10:26:53 2011grayOpen/ClosedOpen=>Closed
      Discussion LockUnlocked=>Locked
    Wed Oct 5 13:07:12 2011grayStatusIn Progress=>Fixed
    Tue Oct 4 15:45:32 2011grayStatusNone=>In Progress
      Assigned toNone=>gray
    Tue Oct 4 15:31:57 2011hhorakAttached File-=>Added gdbm-1.9.1-shortread.patch, #113
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray