[PATCH 17/32] [libx11] Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.)

2011-01-27 Thread Erkki Seppälä
If _XkbGetReadBufferPtr returns NULL, goto BAILOUT Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Erkki Seppälä --- src/xkb/XKBList.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/xkb/XKBList.c b/src/xkb/XKBList.c index e1b4127..dec96b7 100644 --- a/src/

Re: [PATCH 17/32] [libx11] Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.)

2011-01-27 Thread Dirk Wallenstein
On Thu, Jan 27, 2011 at 09:54:00AM +0200, Erkki Seppälä wrote: > If _XkbGetReadBufferPtr returns NULL, goto BAILOUT > > Reviewed-by: Ander Conselvan de Oliveira > > Signed-off-by: Erkki Seppälä > --- > src/xkb/XKBList.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --