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: [COMMIT PATCH] More invalid pointer to pointer conversions.


Pedro> Perhaps instead we should either fix all the strtol
Pedro> call sites for error handling, or even come up with
Pedro> (a) throwing variant(s).  See e.g.,
Pedro> xml_parse_unsigned_integer and gdb_xml_parse_ulongest
Pedro> for possible interfaces.  (I note ERANGE handling is
Pedro> missing there too).

Yeah, I think a checking version would be an improvement.

Tom


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