diff options
| author | zhiweih <[email protected]> | 2020-07-27 23:09:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-27 23:09:26 +0800 |
| commit | 814b646d17fb3219b2b832be9d5df676a881614e (patch) | |
| tree | 801341299d6ff3acfe575b8f37efb6ff43eea924 /src | |
| parent | fa599be08cb79b16d9bdb1456e195ac134b0f34f (diff) | |
Specify date string length in FINSH date command.
libc ctime returns a fixed 25 character string without a NULL terminator. Print it without specifying length in FINSH date command prints extra contents and could potentially be dangerous.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
