iPhone bug: Syncing photos after restore

I had synced two photos from the phone to iPhoto. Then I restored the phone, which wipes the photos. Then I took two more photos. Now, when I sync, iPhoto tells me that i have downloaded the photos already, but it shows the “new” photos as blank. If I sync anyway, I get corrupted photo messages.

If I use Image Capture to download the photos, they too are corrupted. If I email the photos to myself, they are fine.