Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-15 Thread Didier Kryn
Le 16/12/2019 à 03:43, Liu Hao a écrit : I generally consider the Glibc folks better trained in C and more knowledgeable of the C standard then me. If the Glibc folks are making the mistakes, then there is no hope in practice for folks like me or those who are just starting in C. There are too ma

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-15 Thread Jeffrey Walton
On Sun, Dec 15, 2019 at 9:43 PM Liu Hao wrote: > > 在 2019/12/16 4:00, Jeffrey Walton 写道: > > > > If RTFM was going to work, then it would have happened in the last 50 > > years or so. > > > > If error free programming was going to happen, then it would have > > happened in the last 50 years or so.

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-15 Thread Liu Hao
在 2019/12/16 4:00, Jeffrey Walton 写道: > > If RTFM was going to work, then it would have happened in the last 50 > years or so. > > If error free programming was going to happen, then it would have > happened in the last 50 years or so. > > Come back to reality. > What's your point? Don't RTFM

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-15 Thread Jeffrey Walton
On Sun, Dec 15, 2019 at 1:25 PM David Brown wrote: > > On 15/12/2019 02:57, Jeffrey Walton wrote: > > On Sat, Dec 14, 2019 at 12:36 PM Martin Sebor wrote: > >> > >> On 12/9/19 8:15 PM, li zi wrote: > >>> Hi All, > >>> We are using gcc in our projects and we found some of the C standard > >>> fun

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-15 Thread David Brown
On 15/12/2019 02:57, Jeffrey Walton wrote: On Sat, Dec 14, 2019 at 12:36 PM Martin Sebor wrote: On 12/9/19 8:15 PM, li zi wrote: Hi All, We are using gcc in our projects and we found some of the C standard functions (like memcpy, strcpy) used in gcc may induce security vulnerablities like b

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-14 Thread Jeffrey Walton
On Sat, Dec 14, 2019 at 12:36 PM Martin Sebor wrote: > > On 12/9/19 8:15 PM, li zi wrote: > > Hi All, > > We are using gcc in our projects and we found some of the C standard > > functions (like memcpy, strcpy) used in gcc may induce security > > vulnerablities like buffer overflow. Currently we

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-14 Thread Martin Sebor
On 12/9/19 8:15 PM, li zi wrote: Hi All, We are using gcc in our projects and we found some of the C standard functions (like memcpy, strcpy) used in gcc may induce security vulnerablities like buffer overflow. Currently we have not found any instances which causes such issues. But we feel bet

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-10 Thread Jonathan Wakely
On Tue, 10 Dec 2019 at 06:22, Andrew Pinski wrote: > > On Mon, Dec 9, 2019 at 10:14 PM li zi wrote: > > > > Hi All, > > We are using gcc in our projects and we found some of the C standard > > functions (like memcpy, strcpy) used in gcc may induce security > > vulnerablities like buffer overflo

Re: Usage of C11 Annex K Bounds-checking interfaces on GCC

2019-12-09 Thread Andrew Pinski
On Mon, Dec 9, 2019 at 10:14 PM li zi wrote: > > Hi All, > We are using gcc in our projects and we found some of the C standard > functions (like memcpy, strcpy) used in gcc may induce security > vulnerablities like buffer overflow. Currently we have not found any > instances which causes such