Heiko Carstens
e8a79c9ec7
[S390] call home: fix string length handling
...
After copying uts->nodename to the static nodename array the static
version isn't necessarily zero termininated, since the size of the
array is one byte too short.
Afterwards doing strncat(data, nodename, strlen(nodename)); may copy
an arbitrary large amount of bytes.
Fix this by getting rid of the static array and using strncat with
proper length limit.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com >
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com >
2009-10-29 15:05:12 +01:00
..
2009-06-22 12:08:23 +02:00
2009-06-22 12:08:17 +02:00
2006-12-08 15:53:52 +01:00
2008-03-04 08:01:26 -08:00
2009-06-16 10:31:20 +02:00
2009-09-11 10:29:49 +02:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2009-09-11 10:29:49 +02:00
2009-09-11 10:29:45 +02:00
2009-06-16 10:31:21 +02:00
2009-10-06 10:35:05 +02:00
2009-06-16 10:31:20 +02:00
2009-10-29 15:05:12 +01:00
2009-06-16 10:31:20 +02:00
2009-06-22 12:08:19 +02:00
2008-12-25 13:39:24 +01:00
2008-12-25 13:39:24 +01:00
2008-01-26 14:11:08 +01:00
2008-01-26 14:11:08 +01:00
2008-07-14 10:02:19 +02:00
2009-06-16 10:31:16 +02:00
2009-07-07 16:37:50 +02:00
2008-12-25 13:39:24 +01:00
2008-07-14 10:02:25 +02:00
2008-07-14 10:02:25 +02:00
2009-10-14 12:43:54 +02:00
2009-06-16 10:31:16 +02:00
2009-09-11 10:29:49 +02:00
2009-09-11 10:29:57 +02:00
2009-09-11 10:29:57 +02:00
2007-05-04 18:48:26 +02:00
2009-10-14 12:43:52 +02:00
2009-03-26 15:24:25 +01:00
2008-10-16 09:24:44 -07:00
2008-04-17 07:46:59 +02:00
2009-09-11 10:29:57 +02:00
2009-03-26 15:24:25 +01:00
2009-09-11 10:29:46 +02:00
2009-06-16 10:31:16 +02:00
2009-06-12 10:27:33 +02:00
2007-10-12 16:13:06 +02:00
2008-12-25 13:39:18 +01:00
2007-07-17 13:36:19 +02:00
2009-09-11 10:29:45 +02:00
2009-09-11 10:29:49 +02:00
2008-04-17 07:46:59 +02:00
2009-07-07 16:37:53 +02:00
2009-09-23 18:13:10 -07:00