diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-14 16:29:32 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-14 16:39:42 -0700 |
commit | 96c84e563610d5c7846e601605f675f3d3840dd2 (patch) | |
tree | 8432553a1dc05a28485c8289d16635341622076b /src/iceauth.c | |
parent | 0269c687e954db7aca2a4344e32cb203315a00b6 (diff) |
Handle arrays too large to fit in iceConn buffers
Fixes numerous gcc warnings of the form:
connect.c: In function ‘IceOpenConnection’:
ICElibint.h:160:25: warning: potential null pointer dereference [-Wnull-dereference]
*((CARD16 *) _pBuf) = _val; \
^
ICElibint.h:174:5: note: in expansion of macro ‘STORE_CARD16’
STORE_CARD16 (_pBuf, _len); \
^~~~~~~~~~~~
connect.c:351:5: note: in expansion of macro ‘STORE_STRING’
STORE_STRING (pData, IceReleaseString);
^~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/iceauth.c')
0 files changed, 0 insertions, 0 deletions