#11 tcp read fix

closed-fixed
Joe Drew
Patches (14)
5
2011-10-01
2005-03-17
Eric Kinzie
No

read_from_fd() in mad.c assumes that the buffer passed
to read() is always filled. While this might be a
reasonable assumption when reading from disk, it is
seldom the case when reading from a tcp socket.

Discussion

  • Eric Kinzie

    Eric Kinzie - 2005-03-17

    unified diff

     
  • Vadim Druzhin

    Vadim Druzhin - 2007-09-11

    Logged In: YES
    user_id=1888199
    Originator: NO

    This patch breaks playing from stdin ('-' command line option),
    it causes infinite loop at EOF.

     
  • Chrysostomos Nanakos

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks