There was the bug that would cause nodes to think that an unlimited number of bitcoin was created as part of a transaction in Bitcoin's very early days, luckily the person who figured out how to do this went crazy and made it appear as if billions of bitcoin were created, making it very obvious there was a problem.
Ah yeah I thought thats what you were referring to.
Just to note that the bug could only create 92233720368.54277039 BTC per block, no more or less, as thats the max value for a UINT_64 integer.
It's also difficult to know whether it was purposely exploited, as the bug could trigger under normal circumstances.
You're both wrong.
QS: that bug existed long before "Bitcoin Core" was a thing; it was in Satoshi's original code. Also, the only way to exploit the bug was to create billions of Bitcoin. The bug never would have worked to create smaller amounts.
anon: you're wrong in several ways:
1) the max value for a UINT_64 integer is 2**64 - 1, or 18446744073709551615
2) that would correspond to the creation of 184467440737.09551616 BTC
3) even if we were taking about a signed integer, the number would be (2**63) / 1e8 = 92233720368.54775808 BTC per block, not what you wrote
4) the bug could create any integer multiple of that amount per block, so long as the sum of the outputs in satoshis was less than the sum of the inputs (modulo 2^64)
5) it's very unlikely that the exploitation was accidental