diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:50:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:50:38 +0000 |
commit | 7fe458835c9817f1c5f3a57884220a9ca88b6a86 (patch) | |
tree | 64c0795b7d6ef15034944156a5520f2ea6290b91 /lib/libexfat.c | |
parent | Adding upstream version 1.2.3. (diff) | |
download | exfatprogs-7fe458835c9817f1c5f3a57884220a9ca88b6a86.tar.xz exfatprogs-7fe458835c9817f1c5f3a57884220a9ca88b6a86.zip |
Adding upstream version 1.2.4.upstream/1.2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | lib/libexfat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libexfat.c b/lib/libexfat.c index 0bcb4a4..9cc184f 100644 --- a/lib/libexfat.c +++ b/lib/libexfat.c @@ -1046,6 +1046,8 @@ int exfat_parse_ulong(const char *s, unsigned long *out) { char *endptr; + errno = 0; + *out = strtoul(s, &endptr, 0); if (errno) |