public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-keiths-linespec-rewrite:  * linespec.c (parse_linespec): skip_quoted can return NULL.
@ 2012-03-27  3:28 kseitz
  0 siblings, 0 replies; only message in thread
From: kseitz @ 2012-03-27  3:28 UTC (permalink / raw)
  To: archer-commits

The branch, archer-keiths-linespec-rewrite has been updated
       via  4e70b4a077f9fd00d00a6a56d587d6a075b618d6 (commit)
      from  083cb9ba8a4745ea3495b68d3ca7a405e6420139 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 4e70b4a077f9fd00d00a6a56d587d6a075b618d6
Author: Keith Seitz <keiths@redhat.com>
Date:   Mon Mar 26 20:27:57 2012 -0700

    	* linespec.c (parse_linespec): skip_quoted can return NULL.

-----------------------------------------------------------------------

Summary of changes:
 gdb/linespec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/linespec.c b/gdb/linespec.c
index fa90786..e614810 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1895,7 +1895,7 @@ parse_linespec (linespec_parser *parser, char **argptr)
       char *end;
 
       end = skip_quote_char (*argptr + 1, **argptr);
-      if (is_closing_quote_enclosed (end))
+      if (end != NULL && is_closing_quote_enclosed (end))
 	{
 	  /* Here's the special case.  Skip ARGPTR past the initial
 	     quote.  */


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-27  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27  3:28 [SCM] archer-keiths-linespec-rewrite: * linespec.c (parse_linespec): skip_quoted can return NULL kseitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).