Bug #442

exivsimple has array index errors when stripping quotes from trivial input strings

Added by DeafByBeheading - almost 12 years ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Thomas Beutlich% Done:

0%

Category:miscellaneous
Target version:0.25

Description

When stripping quotes from input strings, exivsimple does not check for string length, thus dies with an array index out of bounds exception on input strings of lengh 0 or 1. This affects the AddMeta and ModifyMeta methods. I've verified that this exists in the latest code currently in the repository.

Associated revisions

Revision 3695
Added by Thomas Beutlich over 2 years ago

refs #442:

  • Fix index out of bounds exception
  • Make indents consistent
  • Remove trailing white space

History

#1 Updated by Thomas Beutlich over 2 years ago

  • Target version set to 0.25

Resolved by r3695.

#2 Updated by Robin Mills over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Thomas Beutlich

I'm assigning this to Thomas. When we prepare the release notes, the current "Assignee" is credited with the fix. 100% credit (and three cheers) to Thomas. Great Work.

#3 Updated by Andreas Huggel over 2 years ago

  • Status changed from Resolved to Closed

#4 Updated by Thomas Beutlich about 1 year ago

  • Subject changed from exivsimple has array index errors when stripping quotes form trivial input strings to exivsimple has array index errors when stripping quotes from trivial input strings

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux