]> granicus.if.org Git - fortune-mod/commit
Detect an integer overflow when handling prcnts.
authorShlomi Fish <shlomif@shlomifish.org>
Fri, 1 May 2020 16:18:35 +0000 (19:18 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Fri, 1 May 2020 18:23:44 +0000 (21:23 +0300)
commitacd338098071bddfa1d21f87e1813727031428ea
treeec4d7ba99d46d37e1e38e1ab55e607ae0095ccba
parent736705afe191d6dbc813401fde186cc5021fd5de
Detect an integer overflow when handling prcnts.

[SECURITY]

Thanks to a code review done by a facebook friend.
.travis.yml
fortune-mod/fortune/fortune.c
fortune-mod/tests/t/test-fortune-percent.t [new file with mode: 0644]