Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Sep 2018 21:30:22 +0200
From: Markus Wichmann <nullplan@....net>
To: musl@...ts.openwall.com
Subject: Re: string-backed FILEs mess

On Wed, Sep 12, 2018 at 01:48:37PM -0500, A. Wilcox wrote:
> Happy early Hallowe'en:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87096
> 

You know, if I were programming on Linux professionally rather than as a
hobby, stuff like this would drive me to drink. I mean, in this case it
is a return value on a pathological case, but actually, it's sort of my
point: C says, snprintf() is undefined with a buffer size of more than
INT_MAX, POSIX defines it, and GCC just goes with the ISO-C version --
because they can? Great!

Wanna bet there's more where that came from?

G'night,
Markus

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.