The bug was the value overflow check was done on individual outputs, not the sum of the outputs.
The fix is already available in version 0.3.10. Please upgrade.
The good chain has overtaken the bad chain. The network will now refuse any block that has an output value larger than 21 million coins.