f5703eb hfsplus: Fix two more overflows

1 file Authored by pjones 3 years ago, Committed by Daniel Kiper 3 years ago,
    hfsplus: Fix two more overflows
    
    Both node->size and node->namelen come from the supplied filesystem,
    which may be user-supplied. We can't trust them for the math unless we
    know they don't overflow. Making sure they go through grub_add() or
    grub_calloc() first will give us that.
    
    Signed-off-by: Peter Jones <pjones@redhat.com>
    Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
    Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
    
        
file modified
+8 -3