Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#22 obex_test should check for EOF

closed-accepted
None
5
2010-04-30
2007-06-22
Mike Frysinger
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

  • Mike Frysinger
    Mike Frysinger
    2007-06-22

    openobex-check-for-EOF.patch

     
    • assigned_to: nobody --> infotux
     
    • status: open --> pending-accepted
     
  • applied to my git tree

     
    • status: pending-accepted --> closed-accepted
     
  • 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).