Al-Qurtas-Islamic-bank-The-.../src/pshinter
Ben Wagner 5e227133c1 [pshinter] Avoid accessing uninitialized zone.
The `normal_top.count` may be 0, implying no `normal_top.zones` exist.
The code must not access these (non-existent) `normal_top.zones`.

* src/pshinter/pshalgo.c (ps_hints_apply): Do not assume that
`normal_top.zones[0]` is initialized. Test `normal_top.count`
before using `normal_top.zones[0]`. Do not rescale if there are no
`zones`.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43675
2022-01-15 17:21:39 -05:00
..
module.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshalgo.c [pshinter] Avoid accessing uninitialized zone. 2022-01-15 17:21:39 -05:00
pshalgo.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshglob.c * src/pshinter/pshglob.c (psh_globals_new): Avoid zeroing. 2022-01-14 14:40:11 -05:00
pshglob.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshinter.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshmod.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshmod.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshnterr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshrec.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshrec.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
rules.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00