Re: [PATCH] Attempt to fix Coverity issues in ssp

2016-03-15 Thread Corinna Vinschen
On Mar 15 13:12, Jon Turney wrote: > * ssp.c (lookup_thread_id): Consistently check if tix is a null > pointer. > (run_program): Annotate that STATUS_BREAKPOINT falls-through to > STATUS_SINGLE_STEP case. > (main): Guard against high_pc-low_pc overflow and malloc failu

[PATCH] Attempt to fix Coverity issues in ssp

2016-03-15 Thread Jon Turney
* ssp.c (lookup_thread_id): Consistently check if tix is a null pointer. (run_program): Annotate that STATUS_BREAKPOINT falls-through to STATUS_SINGLE_STEP case. (main): Guard against high_pc-low_pc overflow and malloc failure. Signed-off-by: Jon Turney ---