News for hackers. Stuff that matters.

Tell Facebook: There's a severe bug when changing profile pics on the iOS app.

(I've submitted a bug report with Facebook, but cross posting it anonymously here so it hopefully gets some attention).

To reproduce: Open Facebook iOS app --> tap profile pic --> tap "choose existing" --> minimize Facebook app --> open photos app --> delete some photos from the photo stream --> go back to facebook iOS app --> try selecting a photo --> the selected photo is NOT the photo that was tapped.

This happened to me just now. I got the fright of my life when the selected photo was one which I'd NEVER want uploaded to the internet. Thankfully there was a "crop" screen saving me from what would have been the worst embarrassment of my life.

I recommend fixing this ASAP. It's just a matter of time before someone actually does accidentally upload a "private" photo of themselves due to this bug. When that happens, there's a reasonable chance of an enormous lawsuit.

( 2 comments | 2 points | on HN )
Re:Tell Facebook: There's a severe bug when changing profile... by andyhart on Friday September 27, 2013 @06:41AM (#6456294)
Tried to recreate and the Facebook app just ended up crashing on my iPhone 4...
Re:Tell Facebook: There's a severe bug when changing profile... by fbiosouch on Friday September 27, 2013 @06:52AM (#6456324)
I've done a few more tests.

Let's say you were about to select the nth image. If you go to the photo app and delete, say, the (n - x)th image, then go back to the facebook app, selecting the nth image will actually select the (n + 1)th image. If you select the _last_ image, it will crash (presumably with an array index out of bounds.)