Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
grub
nulterminate-configfile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nulterminate-configfile of Package grub
--- grub-0.97/stage2/builtins.c.orig 2010-01-14 18:08:51.000000000 +0100 +++ grub-0.97/stage2/builtins.c 2010-01-14 18:11:45.000000000 +0100 @@ -2126,8 +2126,11 @@ nul_terminate (config_filename); if (! is_stage1_5) - /* If it is a Stage 2, just copy PTR to CONFIG_FILE_LOCATION. */ - grub_strcpy (config_file_location, ptr); + { + /* If it is a Stage 2, just copy PTR to CONFIG_FILE_LOCATION. */ + grub_strcpy (config_file_location, ptr); + nul_terminate (config_file_location); + } else { char *real_config;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor