[Badger] Invalid value pointer offset

Hey @sgarg

Is it possible for you to share a complete reproducible example?