Page MenuHomeFreeBSD

D26145.diff
No OneTemporary

D26145.diff

Index: head/sys/dev/jedec_dimm/jedec_dimm.c
===================================================================
--- head/sys/dev/jedec_dimm/jedec_dimm.c
+++ head/sys/dev/jedec_dimm/jedec_dimm.c
@@ -795,7 +795,7 @@
/* If we're dealing with ASCII, convert trailing spaces to NULs. */
if (ascii) {
- for (i = dstsz; i > 0; i--) {
+ for (i = dstsz - 1; i > 0; i--) {
if (dst[i] == ' ') {
dst[i] = 0;
} else if (dst[i] == 0) {

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 5:01 AM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16125215
Default Alt Text
D26145.diff (443 B)

Event Timeline