diff options
author | Cody Peter Mello <melloc@writev.io> | 2018-09-14 19:56:34 -0700 |
---|---|---|
committer | Cody Peter Mello <melloc@writev.io> | 2018-09-14 19:56:34 -0700 |
commit | e059b3b197ce7da33b8b0b3529af65fb85b25186 (patch) | |
tree | 7ced5f2f57c2c38870d8c85e7b720f0ab71f4f17 /bugs-fixed/fmt-overflow.awk | |
parent | 2dc7e5ff1a4feeeb549f32706cf34e17aba89192 (diff) | |
download | one-true-awk-e059b3b197ce7da33b8b0b3529af65fb85b25186.tar.gz |
Protect against overflowing during OFMT/CONVFMT conversions
Diffstat (limited to 'bugs-fixed/fmt-overflow.awk')
-rw-r--r-- | bugs-fixed/fmt-overflow.awk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bugs-fixed/fmt-overflow.awk b/bugs-fixed/fmt-overflow.awk new file mode 100644 index 0000000..bf5877e --- /dev/null +++ b/bugs-fixed/fmt-overflow.awk @@ -0,0 +1 @@ +BEGIN { OFMT = "%.1000f"; print 1.25; } |