I noticed that even though I had looting X on my sword, the hoglin only dropped a single rotten flesh. I'm assuming that the rotten flesh is only a placeholder for a future drop but the bug may persist even when the drop is changed.
MC-171303 Hoglins drops rotten flesh