dtaweb / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 0 forks source link

Crash if trying to browse folder with non-standard characters. #658

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Name a directory with a square brace in the name. (e.g. "Some Show [HDTV]")
2. Add some valid media files to the directory.
3. Browse by folder to the media files.

What is the expected output? What do you see instead?

Crash!

What version of XBMC Remote are you using?

XBMC 12.0-ALPHA2

Which Android device are you using (and which ROM, if custom)?

Galaxy Nexus, stock ROM.

Which XBMC revision are you running and on which platform?

Raspbmc.

Please provide any additional information below.

Original issue reported on code.google.com by aaron...@gmail.com on 5 Sep 2012 at 12:29

GoogleCodeExporter commented 8 years ago
Crash seems to be in android.text.StaticLayout with an index of -1 being passed 
for an ArrayOutOfBounds exception.

I suspect an issue with control characters plus a lack of bounds checking but 
not sure where to start looking in the code..

Original comment by aaron...@gmail.com on 5 Sep 2012 at 12:38

GoogleCodeExporter commented 8 years ago
I am experiencing this problem on Jelly Bean too.  I was not experiencing it 
before Jelly Bean.

Original comment by arolsen on 5 Dec 2012 at 8:25

GoogleCodeExporter commented 8 years ago
I cannot reproduce this bug, square brackets work fine here.
Can you check if this bug may relate to issue 726 ?

Original comment by antonarn...@gmail.com on 12 Nov 2013 at 8:44