[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Small patch
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] Small patch |
Date: |
Thu, 31 Jan 2013 12:33:35 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Le jeudi 31 janvier 2013 02:13:30, Domingo Alvarez Duarte a écrit :
> Also on this function:
>
> CID 968150 (#1 of 1): Unchecked return value (CHECKED_RETURN)6.
> check_return: Calling function "parse_btype(CType *, AttributeDef *)"
> without checking return value (as is done elsewhere 7 out of 8 times).
>
>
> /* enum/struct/union declaration. u is either VT_ENUM or VT_STRUCT */
> static void struct_decl(CType *type, int u)
> {
> ...
> bit_pos = 0;
> offset = 0;
> while (tok != '}') {
> parse_btype(&btype, &ad); //// no check made here
> ?????????????????
> while (1) {
> bit_size = -1;
> v = 0;
> type1 = btype;
Fixed.
Thanks.
Thomas
signature.asc
Description: This is a digitally signed message part.
- Re: [Tinycc-devel] Small patch, (continued)
- Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/30
- Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/30
- Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/30
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Stephan Beal, 2013/01/31
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/31
- Re: [Tinycc-devel] Small patch, Domingo Alvarez Duarte, 2013/01/31
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Stephan Beal, 2013/01/31
- Re: [Tinycc-devel] Small patch,
Thomas Preud'homme <=
- Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, Michael Matz, 2013/01/31
- Re: [Tinycc-devel] Small patch, Vincent Lefevre, 2013/01/31
- Re: [Tinycc-devel] Small patch, grischka, 2013/01/31
Re: [Tinycc-devel] Small patch, Thomas Preud'homme, 2013/01/31