Pumpkin Pie Safety

Playing

Is it ever unsafe to use fresh pumpkin to make pumpkin pie?