Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
mdadm
0083-maps-Terminate-modes-map-correctly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0083-maps-Terminate-modes-map-correctly.patch of Package mdadm
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. 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> --- 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