Menu

#13 Premature EOF error in vamps (PATCH)

open
Vamps (6)
5
2007-01-26
2007-01-26
Anonymous
No

Vamps will abort with a fatal "Premature EOF" error. The source is the lock () function which makes non-POSIX assumptions about read semantics (they don't hold when reading from pipes).

Attached is the fix for that. Please test! Somehow the EOF is returned while holding some sectors still in the buffer (EOF but avail!=0), I hope those are processed later on.

Kuba Ober
kuba@mareimbrium.org

Discussion

  • Nobody/Anonymous

    patch with Premature EOF fix

     
  • Daniel Pielmeier

    Logged In: YES
    user_id=1570601
    Originator: NO

    Hi,

    i had the same problems with "Premature EOF" error.
    I applied your patch and it fixed this problem for me too.

    Regards Daniel

     
  • Nobody/Anonymous

    Logged In: NO

    I have applied a patch from vamps mailinglist for this problem. Could you please try the cvs-Version.

     
  • Nobody/Anonymous

    Logged In: NO

    I have applied a patch from vamps mailinglist for this problem. Could you please try the cvs-Version.

     
  • Daniel Pielmeier

    Logged In: YES
    user_id=1570601
    Originator: NO

    Where do i get the cvs version?

     

Log in to post a comment.