• Andrew Morton's avatar
    [PATCH] ppc64: fix for massive OF properties · 48a6c2a9
    Andrew Morton authored
    From: Anton Blanchard <anton@samba.org>
    
    We have some versions of firmware out there that have huge OF properties.
    So huge that we end up overwriting our initrd.
    
    Place a 1MB limit and warn bitterly if its over this.  Also fix a use of
    package-to-path where the variable was 64bytes but we would pass in a
    length of 255.
    48a6c2a9
prom.c 84.6 KB