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
13
pkgs/os-specific/linux/usbip/fix-snprintf-truncation.patch
Normal file
13
pkgs/os-specific/linux/usbip/fix-snprintf-truncation.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/tools/usb/usbip/libsrc/vhci_driver.c b/tools/usb/usbip/libsrc/vhci_driver.c
|
||||
index 8159fd98680b..7d6eb3e3fe1e 100644
|
||||
--- a/tools/usb/usbip/libsrc/vhci_driver.c
|
||||
+++ b/tools/usb/usbip/libsrc/vhci_driver.c
|
||||
@@ -111,7 +111,7 @@ static int parse_status(const char *value)
|
||||
static int refresh_imported_device_list(void)
|
||||
{
|
||||
const char *attr_status;
|
||||
- char status[MAX_STATUS_NAME+1] = "status";
|
||||
+ char status[MAX_STATUS_NAME+2] = "status";
|
||||
int i, ret;
|
||||
|
||||
for (i = 0; i < vhci_driver->ncontrollers; i++) {
|
||||
Loading…
Add table
Add a link
Reference in a new issue