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


On Thursday, December 30, 2010 16:08:31 Mike Frysinger wrote:
> These are the last sources of build warnings (asprintf usage) that I see.
> 2010-12-30  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* 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.

i guess this one i could merge as obvious ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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