#22 obex_test should check for EOF

closed-accepted
None
5
2010-04-30
2007-06-22
No

if you issue CTRL+d into obex_test, it will try to printf() on garbage

obex_test should check the return of scanf() to see if it is EOF and if so, abort as if 'q' had been given

patch attached

Discussion

  • Hendrik Sattler

    Hendrik Sattler - 2010-04-15
    • assigned_to: nobody --> infotux
     
  • Hendrik Sattler

    Hendrik Sattler - 2010-04-15
    • status: open --> pending-accepted
     
  • Hendrik Sattler

    Hendrik Sattler - 2010-04-15

    applied to my git tree

     
  • SourceForge Robot

    • status: pending-accepted --> closed-accepted
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks