|
Message-ID: <20190314201535.GL26605@port70.net> Date: Thu, 14 Mar 2019 21:15:36 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: segfault on sscanf * Szabolcs Nagy <nsz@...t70.net> [2019-03-14 20:49:34 +0100]: > * Markus Wichmann <nullplan@....net> [2019-03-14 19:38:12 +0100]: > > > On Thu, Mar 14, 2019 at 07:19:19PM +0100, Szabolcs Nagy wrote: > > > i think __shgetc should ensure f->rpos == f->shend on EOF > > > > What about shunget(), though? Currently, if shgetc() returns EOF, at the > > i meant f->rpos == f->shend == 0. started with commit d6c855caa88ddb1ab6e24e23a14b1e7baf4ba9c7 "fix undefined behavior in strto* via FILE buffer pointer abuse" musl version 1.1.21
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.