[devel] [#15417] FAILED cssed.git=0.4.0-alt1

Alexey I. Froloff raorn at altlinux.org
Sun Nov 8 23:59:37 UTC 2009


On Mon, Nov 09, 2009 at 01:50:47AM +0200, Alex Negulescu wrote:
>     inlined from 'cr_om_parser_parse_paths_to_cascade' at cr-om-parser.c:1009:
> /usr/include/bits/string3.h:85: error: call to __builtin___memset_chk will always overflow destination buffer

1002         CRStyleSheet *sheets[3];
...
1009         memset (sheets, 0, sizeof (CRStyleSheet) * 3);

Shouldn't it be sizeof (CRStyleSheet *) * 3 or even sizeof (sheets) ?

-- 
Regards,
Sir Raorn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20091109/f0fdab4a/attachment.bin>


More information about the Devel mailing list