diff options
| author | Nathan Kinder <nkinder@redhat.com> | 2010-09-08 10:47:07 -0700 |
|---|---|---|
| committer | Nathan Kinder <nkinder@redhat.com> | 2010-09-08 10:47:07 -0700 |
| commit | b2962bd5ecab66571b2afe223a61ff1a7d53dc3c (patch) | |
| tree | 3e6b2fe2067c63c1d939a5025f196828da1f9285 /lib | |
| parent | 3835f3ccd452c8d8af26f54ac04433f9f581a2ff (diff) | |
| download | ds-b2962bd5ecab66571b2afe223a61ff1a7d53dc3c.tar.gz ds-b2962bd5ecab66571b2afe223a61ff1a7d53dc3c.tar.xz ds-b2962bd5ecab66571b2afe223a61ff1a7d53dc3c.zip | |
Bug 630096 - (cov#15447) - Check return value of idl_append_extend()
We should check the return type of idl_append_extend(), though it does
not seem possible that the return type will be anything other than 0.
The only time idl_append_extend() returns anything other than 0 is
when it is unable to allocate memory. Since the underlying allocation
function is slapi_ch_calloc(), the server will just exit if it runs
out of memory, which means we will never return up through
idl_append_extend(). The right thing to do from a code standpoint is
to still check for the return value though.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
