-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow much larger exponent for explicitly exact numbers
Addresses #898 We do set a somewhat arbitrary limit for the exponent (65535 now) to avoid accidentally put such numbers (or potential DoS attack) that will cause to hog large amount of memory.
- Loading branch information
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2024-12-31 Shiro Kawai <[email protected]> | ||
|
||
* src/number.c (read_real): Allow much larger exponent for explicitly | ||
exact numbers. https://github.com/shirok/Gauche/issues/898 | ||
|
||
2024-12-29 Shiro Kawai <[email protected]> | ||
|
||
* src/read.c (read_number): Propagate numeric parser error message. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters