diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-10-30 10:29:40 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-10-30 10:30:04 +0100 |
commit | f3910003bce32ebdc1dbb71fd9ca2d4b8352b563 (patch) | |
tree | 86d7662a2c26332b67add144ad20e63abdbd1aa1 /src/shared/unit-name.c | |
parent | 0eb59ccfe619cbc4b42ef8ff02b52971994dfe05 (diff) |
shared, libsystemd-daemon: check for empty strings in strto*l conversions
strtol() and friends may set EINVAL if no conversion was performed, but
they are not required to do so. In practice they don't. We need to check
for it.
https://bugzilla.redhat.com/show_bug.cgi?id=870577
Diffstat (limited to 'src/shared/unit-name.c')
0 files changed, 0 insertions, 0 deletions