summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_slot.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-10-29 09:29:21 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-30 12:24:21 +0100
commit73424473d0801f7079258897901ba1edc660dbd3 (patch)
treea1a84628fe0799dda1fa12471ff8592bd5fff73d /drivers/acpi/pci_slot.c
parentc26f3c908091294e5909f5459b6682e10922c824 (diff)
downloadop-kernel-dev-73424473d0801f7079258897901ba1edc660dbd3.zip
op-kernel-dev-73424473d0801f7079258897901ba1edc660dbd3.tar.gz
ACPICA: Add safe versions of common string functions.
This change adds and deploys "safe" versions of strcpy and strcat that ensure that the target buffer does not overflow. These safe functions are only helpful for processing user input and command lines. For most ACPICA code however, the required buffer length is precisely calculated before buffer allocation, so the use of these functions is unnecessary. ACPICA BZ 1043. This change only applies to the ACPICA utilities and the debugger, none of which are not shipped with the kernel yet, so the kernel's behavior remains unchanged after it. References: https://bugs.acpica.org/show_bug.cgi?id=1043 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/pci_slot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud