Searched hist:12559 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/dev/virtio/ | ||
H A D | fs9p.cc | diff 12559:55550caed7f0 Sun Feb 18 13:58:00 EST 2018 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> dev: Leave last byte in strncpy for NULL The length of the strncpy should be one less than the destination to ensure that there is space for the last NULL byte in case the source is longer than the destination. Change-Id: Iea65fa6327c8242bd8ddf4bf9a5a2b5164996495 Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> Reviewed-on: https://gem5-review.googlesource.com/8561 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
/gem5/src/dev/net/ | ||
H A D | ethertap.cc | diff 12559:55550caed7f0 Sun Feb 18 13:58:00 EST 2018 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> dev: Leave last byte in strncpy for NULL The length of the strncpy should be one less than the destination to ensure that there is space for the last NULL byte in case the source is longer than the destination. Change-Id: Iea65fa6327c8242bd8ddf4bf9a5a2b5164996495 Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> Reviewed-on: https://gem5-review.googlesource.com/8561 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
Completed in 11 milliseconds