summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/rioutil/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/rioutil/files')
-rw-r--r--app-misc/rioutil/files/75-rio.rules38
-rw-r--r--app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch15
2 files changed, 53 insertions, 0 deletions
diff --git a/app-misc/rioutil/files/75-rio.rules b/app-misc/rioutil/files/75-rio.rules
new file mode 100644
index 000000000000..610131a7dbe2
--- /dev/null
+++ b/app-misc/rioutil/files/75-rio.rules
@@ -0,0 +1,38 @@
+ACTION!="add", GOTO="rio_rules_end"
+SUBSYSTEM!="usb|usb_device", GOTO="rio_rules_end"
+
+# Diamond flash players
+# Rio 600
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5001", MODE="0660", GROUP="usb"
+# Rio 800
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5002", MODE="0660", GROUP="usb"
+# Nike psa[play
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5003", MODE="0660", GROUP="usb"
+# Rio S10
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5005", MODE="0660", GROUP="usb"
+# Rio S50
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5006", MODE="0660", GROUP="usb"
+# Rio S35
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5007", MODE="0660", GROUP="usb"
+# Rio 900
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5008", MODE="0660", GROUP="usb"
+# Rio S30
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5009", MODE="0660", GROUP="usb"
+# Fuse
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500d", MODE="0660", GROUP="usb"
+# Chiba
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500e", MODE="0660", GROUP="usb"
+# Cali
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500f", MODE="0660", GROUP="usb"
+# Cali256
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="503f", MODE="0660", GROUP="usb"
+# Rio S11
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5010", MODE="0660", GROUP="usb"
+
+# Diamond hard drive players
+# Rio Riot
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5202", MODE="0660", GROUP="usb"
+# Nitrus
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5220", MODE="0660", GROUP="usb"
+
+LABEL="rio_rules_end"
diff --git a/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch b/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch
new file mode 100644
index 000000000000..1739a146c485
--- /dev/null
+++ b/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch
@@ -0,0 +1,15 @@
+flist->genre is defined as 'char genre[17]' so don't copy 22 into it
+
+Patch by Kevin McCarthy <signals42@gmail.com>
+
+--- librioutil/file_list.c
++++ librioutil/file_list.c
+@@ -241,7 +241,7 @@
+ strncpy(flist->title, info.data->title, 64);
+ strncpy(flist->album, info.data->album, 64);
+ strncpy(flist->name, info.data->name, 64);
+- strncpy(flist->genre, (char *)info.data->genre2, 22);
++ strncpy(flist->genre, (char *)info.data->genre2, 17);
+
+ strncpy(flist->year, (char *)info.data->year2, 4);
+