uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
16
pkgs/tools/admin/tightvnc/1.3.10-CVE-2019-15680.patch
Normal file
16
pkgs/tools/admin/tightvnc/1.3.10-CVE-2019-15680.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/vncviewer/zlib.c b/vncviewer/zlib.c
|
||||
index 80c4eee..76998d8 100644
|
||||
--- a/vncviewer/zlib.c
|
||||
+++ b/vncviewer/zlib.c
|
||||
@@ -55,6 +55,11 @@ HandleZlibBPP (int rx, int ry, int rw, int rh)
|
||||
raw_buffer_size = (( rw * rh ) * ( BPP / 8 ));
|
||||
raw_buffer = (char*) malloc( raw_buffer_size );
|
||||
|
||||
+ if ( raw_buffer == NULL ) {
|
||||
+ fprintf(stderr,
|
||||
+ "couldn't allocate raw_buffer in HandleZlibBPP");
|
||||
+ return False;
|
||||
+ }
|
||||
}
|
||||
|
||||
if (!ReadFromRFBServer((char *)&hdr, sz_rfbZlibHeader))
|
||||
Loading…
Add table
Add a link
Reference in a new issue