Bug#858529: libc6: fgets repeats content after fork on stretch only

2017-03-23 Thread Florian Weimer
tags 858529 upstream forwarded 858529 https://sourceware.org/bugzilla/show_bug.cgi?id=20598 thanks * Neil Spring: > if(fork() == 0) { exit(1); } exit flushes the stdio buffers in the child. Upstream concluded that this leads to undefined behavior: | Yes, this is about the exit actually.

Processed: Re: Bug#858529: libc6: fgets repeats content after fork on stretch only

2017-03-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 858529 upstream Bug #858529 [libc6] libc6: fgets repeats content after fork on stretch only Added tag(s) upstream. > forwarded 858529 https://sourceware.org/bugzilla/show_bug.cgi?id=20598 Bug #858529 [libc6] libc6: fgets repeats c

Bug#858529: libc6: fgets repeats content after fork on stretch only

2017-03-22 Thread Neil Spring
Package: libc6 Version: 2.24-9 Severity: normal Dear Maintainers, I'm testing a programming exercise for students, and found failed tests that I believe are due to libc6. I retried the minimal test case on every machine I have access to, and found that only my two Debian Stretch machines