[lkml]   [2007]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: 2.6.23-rc6-mm1
    Hi Miles.
    On Tue, Sep 18, 2007 at 11:27:23AM -0400, Miles Lane wrote:
    > Selecting Help for "Subarchitecture Type" causes "make menuconfig" to
    > crash, and the bash display settings have to be reset.

    Not reproduceable here.
    But I noticed that we pass a null pointer to a vsprintf function which
    in the cases you pointed out printed a (null) at my system.
    Could you plase try if attached patch fix your system.


    diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
    index 2ee12a7..1935818 100644
    --- a/scripts/kconfig/mconf.c
    +++ b/scripts/kconfig/mconf.c
    @@ -357,8 +357,9 @@ static void get_symbol_str(struct gstr *r, struct symbol *sym)
    bool hit;
    struct property *prop;

    - str_printf(r, "Symbol: %s [=%s]\n", sym->name,
    - sym_get_string_value(sym));
    + if (sym && sym->name)
    + str_printf(r, "Symbol: %s [=%s]\n", sym->name,
    + sym_get_string_value(sym));
    for_all_prompts(sym, prop)
    get_prompt_str(r, prop);
    hit = false;
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2007-09-18 21:19    [W:0.020 / U:2.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site