1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00
Mathias Nyman e925018786 remove buffer-overrun risk in readlink call
readlink does not write a nul character to the end of the
string it returns. Therefore ask for one fewer character
than the buffer size so there's always room for an extra \0.

Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-21 13:41:14 +02:00
..
2009-06-22 00:33:09 +02:00
2010-04-13 12:45:38 +02:00
2010-04-12 15:51:16 +02:00
2009-06-19 19:17:18 +02:00
2010-04-13 12:45:38 +02:00
2010-04-12 16:52:41 +02:00
2009-08-07 14:46:42 +02:00