Spdk/lib/nvme
Seth Howell 8fbcc1e3ec nvme_ns_cmd: add overflow check in write_zeroes function
The value for lba_count is stored in a 0-based 16 bit register. here we
confirm that the value passed to that register is no larger than 2^16.

Change-Id: I234e55fc2b61338444dfe8f734e76f958d1f0443
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/372370
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-02 17:37:33 -04:00
..
Makefile nvme: Monitor uevent for device insert and remove 2016-11-30 14:27:43 -07:00
nvme_ctrlr_cmd.c nvme: track qpair within nvme_request 2017-04-12 21:05:23 -07:00
nvme_ctrlr.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_internal.h nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_ns_cmd.c nvme_ns_cmd: add overflow check in write_zeroes function 2017-08-02 17:37:33 -04:00
nvme_ns.c nvme_ns: add function to get read value of unmapped blocks 2017-08-02 17:37:17 -04:00
nvme_pcie.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_qpair.c nvme: no need to send abort notification for died application 2017-06-20 15:43:21 -04:00
nvme_quirks.c nvme: add NVME_QUIRK_DELAY_AFTER_QUEUE_ALLOC 2017-05-01 10:22:18 -07:00
nvme_rdma.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_transport.c nvme: add transport get_max_sges abstraction 2017-08-02 17:15:21 -04:00
nvme_uevent.c nvme/uevent: use env PCI addr helper functions 2017-06-23 11:20:05 -04:00
nvme_uevent.h nvme: Remove pci_addr from probe_info 2016-12-12 10:46:50 -07:00
nvme.c nvme: add API to convert trtype and adrfam to string 2017-06-30 12:43:18 -04:00