]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/kconfig/mconf.c
select: deal with math overflow from borderline valid userland data
[linux-2.6-omap-h63xx.git] / scripts / kconfig / mconf.c
index 50e61c411bc0f89d8f9c5ec9d7c7ea6992a43371..6841e95c0989bcd2007b46ad4178e8ad28dd1bbf 100644 (file)
@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu)
 
        while (1) {
                int res;
-               char *heading;
+               const char *heading;
 
                switch (sym_get_type(menu->sym)) {
                case S_INT:
@@ -821,6 +821,7 @@ static void conf_load(void)
                                return;
                        if (!conf_read(dialog_input_result)) {
                                set_config_filename(dialog_input_result);
+                               sym_set_change_count(1);
                                return;
                        }
                        show_textbox(NULL, _("File does not exist!"), 5, 38);
@@ -924,3 +925,4 @@ int main(int ac, char **av)
 
        return 0;
 }
+