This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sim: check asprintf return values


> > 	* sim-module.c (sim_pre_argv_init): Return SIM_RC_FAIL when asprintf
> > 	fails.
> > 	* sim-options.c (sim_parse_args): Issue an error and return SIM_RC_FAIL
> > 	when asprintf fails.
> > 	* sim-utils.c (sim_do_commandf): Issue an error and return when
> > 	asprintf fails.
> > 	* sim-watch.c (sim_watchpoint_install): Return SIM_RC_FAIL when
> > 	asprintf fails.

Sorry for the delay in the review. This looks OK to me.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]