diff --git a/libmikmod-3.1.12-CVE-2009-3995,3996.diff b/libmikmod-3.1.12-CVE-2009-3995,3996.diff index 57e90a7..932896e 100644 --- a/libmikmod-3.1.12-CVE-2009-3995,3996.diff +++ b/libmikmod-3.1.12-CVE-2009-3995,3996.diff @@ -6,8 +6,8 @@ Index: loaders/load_it.c ih. name##end =_mm_read_UBYTE(modreader); \ ih. name##susbeg=_mm_read_UBYTE(modreader); \ ih. name##susend=_mm_read_UBYTE(modreader); \ -+ if (ih. name##pts>= ENVPOINTS) \ -+ ih. name##pts = ENVPOINTS-1; \ ++ if (ih. name##pts>= ITENVCNT) \ ++ ih. name##pts = ITENVCNT-1; \ for(lp=0;lp= ENVPOINTS) \ -+ ih. name/**/pts = ENVPOINTS-1; \ ++ if (ih. name/**/pts>= ITENVCNT) \ ++ ih. name/**/pts = ITENVCNT-1; \ for(lp=0;lp