Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 18 Dec 2022 13:23:25 +0100
From: Szabolcs Nagy <>
To: Domingo Alvarez Duarte <>
Subject: Re: Bug in atoll strtoll, the output of then differ

* Domingo Alvarez Duarte <> [2022-12-18 10:32:10 +0100]:
> Doing some work with emscripten with this project
> I was getting some errors
> with the usage of "atoll" and with this small program to compare the output
> of "musl" and "glibc" I found what seems to be a bug in "atoll" because with
> "musl" it gives a different output than "strtoll".

as others pointed out using ato* is a bug here.

glibc does not guarantee ato* to to be compatible with strto* either
and it just got around fixing its internal ato* usage:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.