Debian Codegraph @

debian/patches/004a-flam3.patch

raw
1 Description: Fix rendering bugs in flam3.c
2 Fix buffer overflows, (ministr too small)
3 Author: Peter Blackman <[email protected]>
4 Forwarded: https://github.com/scottdraves/flam3/issues/37
5
6 Index: b/flam3.c
7 ===================================================================
8 --- a/flam3.c
9 +++ b/flam3.c
10 @@ -2656,7 +2656,7 @@
11 void flam3_cross(flam3_genome *cp0, flam3_genome *cp1, flam3_genome *out, int cross_mode, randctx *rc, char *action) {
12
13 int i,j, rb;
14 - char ministr[10];
15 + char ministr[12];
16
17 if (cross_mode == CROSS_NOT_SPECIFIED) {
18