e6340a8 gfs2_edit: Add bounds checking for the journalN keyword

Authored and Committed by andyp 9 years ago
    gfs2_edit: Add bounds checking for the journalN keyword
    
    Spotted by coverity: "Using tainted variable "journal_num + 2" as an
    index to array "indirect->ii[0].dirent""
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
file modified
+5 -0