Changeset 17683


Ignore:
Timestamp:
2009-09-23T11:30:31+02:00 (7 years ago)
Author:
juhosg
Message:

kernel: check return code of nla_parse in pcomp_lzma on 2.6.31

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.31/052-pcomp_lzma_support.patch

    r17678 r17683  
    11--- /dev/null 
    22+++ b/crypto/unlzma.c 
    3 @@ -0,0 +1,772 @@ 
     3@@ -0,0 +1,775 @@ 
    44+/* 
    55+ * LZMA uncompresion module for pcomp 
     
    637637+ 
    638638+       ret = nla_parse(tb, UNLZMA_DECOMP_MAX, p, len, NULL); 
     639+       if (ret) 
     640+               return ret; 
     641+ 
    639642+       if (!tb[UNLZMA_DECOMP_OUT_BUFFERS]) 
    640643+               return -EINVAL; 
Note: See TracChangeset for help on using the changeset viewer.