Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 16 Nov 2012 17:28:57 +0200
From: Paul Schutte <sjpschutte@...il.com>
To: musl@...ts.openwall.com
Subject: Trouble with sscanf

Hi Guys,

I am trying to compile procps-3.2.8. I keep getting floating point
exceptions when trying to run the tools.

I narrowed the problem to what seems to be an issue with sscanf.

glibc output:
3720798 10228 2410878 64601718 356554 1658 33774 0

musl output:
100 0 0 0 0 0 0 0

I hacked sample code together out of their code to illustrate the problem,
which I attach.
I tried to keep it very close to the original.

Regards
Paul

Content of type "text/html" skipped

View attachment "scanftest.c" of type "text/x-csrc" (1192 bytes)

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.