Menu

#29 error in syncing upto 1.3.9

closed-fixed
None
5
2003-10-29
2003-07-16
Uwe Klein
No

the buffer in calcTimeDiff ( lineBuff ) is
a bit too short.
the ch* buffers are filled through strcpy
and can overflow

Discussion

  • Uwe Klein

    Uwe Klein - 2003-07-16

    fixes syncerror for current ebay timepage ( 2003/07/16 )

     
  • Kevin Dwyer

    Kevin Dwyer - 2003-07-17

    Logged In: YES
    user_id=285914

    Yeah I fixed this a while ago but the anonymous CVS is
    working off of the backup server. I'll look at the overflow
    too, that one I hadn't considered. I probably won't use the
    hex values you use though. ;)

     
  • Kevin Dwyer

    Kevin Dwyer - 2003-07-17
    • assigned_to: nobody --> kevindication
    • status: open --> open-fixed
     
  • Uwe Klein

    Uwe Klein - 2003-07-17

    Logged In: YES
    user_id=136222

    Just pick your own ;-)

    while going through helpers.cpp i noticed
    quite a lot hardcoded bufferlen's.
    should i send you a patch in a day or 4
    with bufferlen extracted to a #define and
    strcpy and friends changed to strncpy?

    G!
    UK

     
  • Kevin Dwyer

    Kevin Dwyer - 2003-10-29
    • status: open-fixed --> closed-fixed
     
  • Kevin Dwyer

    Kevin Dwyer - 2003-10-29

    Logged In: YES
    user_id=285914

    This was more or less done back when eBay broke. Thanks for
    the patch.

     

Log in to post a comment.