Changing an existing non-zero allowance with approve() lets a spender front-run the change and spend both the old and new allowance.
token.safeIncreaseAllowance(spender, delta);
// or: approve(spender,0); approve(spender,newValue);
The SaferICO scanner runs 201 detectors over your Solidity source, SAFE-0050 among them. Paste an address or the source itself — a small per-scan fee, shown before you sign, or unlimited on any plan.