1 |
Hi lee |
2 |
|
3 |
On 2015-12-29, lee wrote: |
4 |
|
5 |
> Elias Diem <lists@×××××××××.ch> writes: |
6 |
> |
7 |
> > Hi |
8 |
> > |
9 |
> > I just got the following while running Vim's testsuite. |
10 |
> > |
11 |
> > <output> |
12 |
> > *** buffer overflow detected ***: vim terminated; report to <http://bugs.gentoo.org/> |
13 |
> > Makefile:151: recipe for target 'af.ck' failed |
14 |
> > make[2]: *** [af.ck] Killed |
15 |
> > </output> |
16 |
> > |
17 |
> > The compiler gave me the following warning. |
18 |
> > |
19 |
> > [...] |
20 |
> > /usr/include/bits/string3.h:110:3: warning: call to __builtin___strcpy_chk will always overflow destination buffer |
21 |
> > return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); |
22 |
> > |
23 |
> > [...] |
24 |
> > |
25 |
> > Should I file a bug? |
26 |
> |
27 |
> The test was successful because the buffer overflow was detected? |
28 |
|
29 |
I think I don't quite understand your question. |
30 |
|
31 |
`make test` failed. Therefore I'd say the test was not |
32 |
successful. |
33 |
|
34 |
I run a hardened profile. I guess that's why the overflow |
35 |
was detected and vim terminated. |
36 |
|
37 |
-- |
38 |
Greetings |
39 |
Elias |