#538 Fixes indexing empty strings.

closed-accepted
BZFlag (297)
5
2011-12-08
2011-11-01
ab8
No

Accessing an empty string ( str[0] ) issues an exception. This patch checks that str is not accessed if it is empty.

Discussion

  • ab8

    ab8 - 2011-11-01

    Fixes indexing empty strings.

     
  • Cobra_Fast

    Cobra_Fast - 2011-11-10

    Was fixed in r22205.

     
  • Cobra_Fast

    Cobra_Fast - 2011-11-10
    • status: open --> closed
     
  • Bullet Catcher

    Bullet Catcher - 2011-12-08

    The change in r22205 does not seem to completely fix the problem.

     
  • Bullet Catcher

    Bullet Catcher - 2011-12-08
    • status: closed --> open
     
  • Bullet Catcher

    Bullet Catcher - 2011-12-08
    • assigned_to: nobody --> bullet_catcher
    • status: open --> closed-accepted
     
  • Bullet Catcher

    Bullet Catcher - 2011-12-08

    Patch applied in r22231. Thanks!

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks