emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problematic change in ebrowse.c


From: Eli Zaretskii
Subject: Problematic change in ebrowse.c
Date: Sat, 03 Jul 2010 11:04:13 +0300

This change (part of revno 100699):

    === modified file 'lib-src/ebrowse.c'
    --- lib-src/ebrowse.c   2010-07-03 00:50:23 +0000
    +++ lib-src/ebrowse.c   2010-07-03 07:44:17 +0000
    @@ -2385,7 +2385,7 @@ match_qualified_namespace_alias (void)
             {
             case IDENT:
               tmp = (struct link *) xmalloc (sizeof *cur);
    -          tmp->sym = find_namespace (yytext, cur);
    +          tmp->sym = find_namespace (yytext, cur->sym);
               tmp->next = NULL;
               if (head)
                 {

might crash at run time, because we are dereferencing `cur' which
could be a NULL pointer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]