Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Feb 2019 10:09:03 -0500
From: James Larrowe <>
Subject: fgets() doesn't call fsync() before getting input

I'm writing a program that prints a dialogue to the screen and then asks
for input. In musl, the dialogue does not show before fgets() is called,
however in glibc it does. That causes a blank prompt and also some
confusion. Attached is a minimal example and a log.

Content of type "text/html" skipped

Download attachment "minimal-example.c" of type "application/octet-stream" (164 bytes)

Download attachment "log" of type "application/octet-stream" (310 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.