dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/lib/route/cls
Коренберг Марк a820222877 asprintf related fixed in yy parser
1. According to man asprintf:
   If memory allocation wasn't possible, or some other error occurs,
   these functions will return -1, and the contents of strp is undefined.
2. Sometimes, errp was not filled at all. In high-level code, free(errp)
   will called, so segmantation fault may appear in case of error in parser
3. The most cases of using asprintf is to report about allocation fail.
   So, probability of allocation of asprintf buffer is very high. And that
   will lead to trash in errp.
4. For simple casses I decide to replace asprintf with strdup
2012-08-30 22:35:25 +06:00
..
ematch constify struct trans_tbl 2010-11-17 16:09:08 +01:00
.gitignore Tons of ematch work 2010-10-29 00:20:42 +02:00
basic.c Unified TC API 2011-03-21 15:51:52 +01:00
cgroup.c Unified TC API 2011-03-21 15:51:52 +01:00
ematch.c Unified TC API 2011-03-21 15:51:52 +01:00
ematch_grammar.l Support for meta match 2010-10-31 23:13:01 +01:00
ematch_syntax.y asprintf related fixed in yy parser 2012-08-30 22:35:25 +06:00
fw.c add fwmark mask support 2012-05-29 11:40:13 +02:00
police.c Unified TC API 2011-03-21 15:51:52 +01:00
u32.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00