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
Коренберг Марк 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
..
cls asprintf related fixed in yy parser 2012-08-30 22:35:25 +06:00
link "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
qdisc tbf: fix false missing attr 2012-08-09 14:33:38 +02:00
.gitignore Let git ignore generated pktloc source files 2010-07-03 15:56:07 +02:00
addr.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
class.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
classid.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
cls.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
link.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
neigh.c add new function to provide neighbour event parsing 2012-01-30 12:54:29 +01:00
neightbl.c "%llu" replaced with "%" PRIu64 2012-08-30 03:19:04 +06:00
nexthop.c route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value 2012-05-09 15:03:46 +02:00
pktloc.c fix license of lib/route/pktloc.c 2011-09-08 15:08:22 +02:00
pktloc_grammar.l Packet location updates 2010-10-27 01:21:50 +02:00
pktloc_syntax.y pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
qdisc.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
route.c route: Document ROUTE_CACHE_CONTENT flag 2012-08-30 13:19:56 +02:00
route_obj.c single nexthop flags bug 2012-08-29 12:27:06 +02:00
route_utils.c constify struct trans_tbl 2010-11-17 16:09:08 +01:00
rtnl.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
rule.c missing extended Table attribute for lib/route/ 2012-03-06 10:15:30 +01:00
tc.c correct HTB rtable/HZ calculations 2012-05-29 11:42:48 +02:00