Project

General

Profile

Actions

Feature #15686

open

nfssrv: Make rfsv4disptab with c99 array initialised

Added by Vitaliy Gusev 12 days ago. Updated 9 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
nfssrv
Gerrit CR:
External Bug:

Description

nfs4_srv.c#L290 has array initialisation that should be done in more safe format:

 
static struct rfsv4disp rfsv4disptab[] = {
    /*
     * NFS VERSION 4
     */
    [0] = {rfs4_op_illegal, nullfree, 0}, /* RFS_NULL = 0*/
    [1] = {rfs4_op_illegal, nullfree, 0}, /* UNUSED = 1 */
    ...
Actions #1

Updated by Electric Monk 9 days ago

  • Gerrit CR set to 2881
Actions

Also available in: Atom PDF