Fix erroneous calloc NULL check 54/265454/7 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/7.0/unified/20221110.063039 accepted/tizen/7.0/unified/hotfix/20221116.111042 accepted/tizen/8.0/unified/20231005.095130 accepted/tizen/9.0/unified/20241030.233404 accepted/tizen/unified/20211108.181449 submit/tizen/20211103.072537 submit/tizen/20211104.092607 submit/tizen_base/20211104.091630 tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorHubert Kowalski <h.kowalski@samsung.com>
Tue, 19 Oct 2021 14:59:24 +0000 (16:59 +0200)
committerHubert Kowalski <h.kowalski@samsung.com>
Fri, 22 Oct 2021 08:02:04 +0000 (10:02 +0200)
commit1275ffae299f66e3c67bd8fce9ecbac3982393c7
tree40ba044b916ce464aa90cd521cfede12bfbcd912
parented3f365db479cbea9785656c4795a2058c5f7f1e
Fix erroneous calloc NULL check

This commit fixes potential issue caused by bad allocation.
Which causes operating on unallocated memory.

Change-Id: I4d5291bde4504fce1ed1e13d596d83270f38bf40
src/usbg.c