Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
mdadm.14070
0045-maps-Terminate-modes-map-correctly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0045-maps-Terminate-modes-map-correctly.patch of Package mdadm.14070
From e47781fcea24778a16e4be53e5b84eab8db9413c Mon Sep 17 00:00:00 2001 From: Jes Sorensen <jsorensen@fb.com> Date: Thu, 20 Apr 2017 00:13:31 -0400 Subject: [PATCH] maps: Terminate 'modes' map correctly. Git-commit: e47781fcea24778a16e4be53e5b84eab8db9413c Patch-mainline: mdadm-4.0+ References: bsc#1069165, bsc#1069167, bsc#1068030 While we are unlikely to fail here, terminate the modes map correctly to ensure we don't start running over undefined data. Signed-off-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Coly Li <colyli@suse.de> --- maps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/maps.c b/maps.c index a8a4639..a2d293b 100644 --- a/maps.c +++ b/maps.c @@ -106,6 +106,7 @@ mapping_t modes[] = { { "grow", GROW}, { "incremental", INCREMENTAL}, { "auto-detect", AUTODETECT}, + { NULL, 0 } }; mapping_t faultylayout[] = { -- 2.10.2
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