diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-03-14 17:31:48 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-04-03 14:53:04 +0100 |
commit | 8a9e078e5427e2b72e178740f25cbcebb780b225 (patch) | |
tree | 33307a850604a63632af6cf350fc58909cc5cfe3 /README.md | |
parent | 22993fe41a65b7fc4215f2378e1251c790db0ecc (diff) | |
download | unit-8a9e078e5427e2b72e178740f25cbcebb780b225.tar.gz unit-8a9e078e5427e2b72e178740f25cbcebb780b225.tar.bz2 |
Prevent a possible NULL de-reference in nxt_job_create().
We allocate 'job' we then have a check if it's not NULL and do stuff
with it, but then we accessed it outside this check.
Simply return if job is NULL.
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions