Ravi Pokala 4754f6ad41 jedec_dimm: Use correct string length when populating sc->slotid_str
Don't limit the copy to the size of the target string *pointer* (always
4 on 32-bit / 8 on 64-bit). Instead, just use strdup().

Reported by:	Coverity
CID:		1386912
Reviewed by:	cem, imp
MFC after:	1 week
2018-03-22 06:31:05 +00:00
..
2018-03-14 23:45:48 +00:00
2017-09-14 15:34:45 +00:00
2018-03-08 19:24:10 +00:00
2018-01-10 20:05:19 +00:00
2018-03-21 15:57:36 +00:00
2017-11-09 13:38:17 +00:00
2017-12-30 19:27:22 +00:00
2018-03-20 17:58:51 +00:00
2018-03-14 18:27:06 +00:00
2018-03-08 22:04:54 +00:00
2017-11-30 20:33:45 +00:00
2017-11-30 20:33:45 +00:00
2018-03-14 21:32:23 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2017-12-29 00:59:56 +00:00
2018-02-19 19:31:18 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00
2017-07-01 05:35:29 +00:00