#
efa3bacc |
| 14-Jan-2006 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Make code simplier fixing memory leak.
Found with: Coverity Prevent(tm)
|
#
222c1141 |
| 14-Jan-2006 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Fix two memory leakages.
Found with: Coverity Prevent(tm)
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
91b756f4 |
| 02-Aug-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fixed parsing of unsigned integers.
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
f627a379 |
| 01-Mar-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Replace NG_PARSE_APPEND() macro with ng_parse_append() function. Check its return value and free resources if function returns error. Plug several memory leaks with this change.
Submitted by: archie
Replace NG_PARSE_APPEND() macro with ng_parse_append() function. Check its return value and free resources if function returns error. Plug several memory leaks with this change.
Submitted by: archie Found by: Coverity Prevent analysis tool
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
c398230b |
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
445e045b |
| 28-Jul-2004 |
Alexander Kabaev <kan@FreeBSD.org> |
Avoid casts as lvalues.
|
#
327b288e |
| 25-Jun-2004 |
Julian Elischer <julian@FreeBSD.org> |
Convert Netgraph to use mbuf tags to pass its meta information around. Thanks to Sam for importing tags in a way that allowed this to be done.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru> Also
Convert Netgraph to use mbuf tags to pass its meta information around. Thanks to Sam for importing tags in a way that allowed this to be done.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru> Also allow the sr and ar drivers to create netgraph versions of their modules. Document the change to the ksocket node.
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
0a4a8041 |
| 29-Apr-2004 |
John Polstra <jdp@FreeBSD.org> |
Fix a memory leak in ng_get_string_token. A dynamically-allocated buffer wasn't freed if the function failed.
MFC after: 3 days
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
87e2c66a |
| 26-Jan-2004 |
Hartmut Brandt <harti@FreeBSD.org> |
Get rid of the deprecated *LEN constants in favour of the new *SIZ constants that include the trailing \0 byte.
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
8c7e4101 |
| 17-Dec-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
Made the Ethernet address parse type standard.
OK'ed by: archie
|
Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
#
8214d60e |
| 08-Nov-2002 |
John Baldwin <jhb@FreeBSD.org> |
Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
f0184ff8 |
| 01-Jun-2002 |
Archie Cobbs <archie@FreeBSD.org> |
Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field.
Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field.
MFC after: 2 weeks
show more ...
|
#
55be04ab |
| 24-May-2002 |
Peter Wemm <peter@FreeBSD.org> |
Fix warnings: deprecated use of label at end of compound statement
|
#
3cbeb975 |
| 12-Feb-2002 |
Archie Cobbs <archie@FreeBSD.org> |
Fix bug in previous commit.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
d9bfecab |
| 01-Feb-2002 |
Archie Cobbs <archie@FreeBSD.org> |
Some netgraph parse types (such as for the 'value' field in ng_ksocket's 'struct ng_ksocket_sockopt') like to peek into the ng_mesg header for information. Make sure when generating default values th
Some netgraph parse types (such as for the 'value' field in ng_ksocket's 'struct ng_ksocket_sockopt') like to peek into the ng_mesg header for information. Make sure when generating default values that we provide a valid header to peek into.
MFC after: 1 week
show more ...
|
#
6e551fb6 |
| 10-Dec-2001 |
David E. O'Brien <obrien@FreeBSD.org> |
Update to C99, s/__FUNCTION__/__func__/, also don't use ANSI string concatenation.
|
#
b40ce416 |
| 12-Sep-2001 |
Julian Elischer <julian@FreeBSD.org> |
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is fu
KSE Milestone 2 Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
show more ...
|
#
a514569e |
| 19-May-2001 |
John Polstra <jdp@FreeBSD.org> |
Fix a range checking bug in ng_int32_parse which affected 64-bit machines. The code formerly read:
long val; if (val < (long)-0x80000000 || ...) return EINVAL;
The constant 0x8
Fix a range checking bug in ng_int32_parse which affected 64-bit machines. The code formerly read:
long val; if (val < (long)-0x80000000 || ...) return EINVAL;
The constant 0x80000000 has type unsigned int. The unary `-' operator does not change the type (or the value, in this case). Therefore the promotion to long is done by 0-extension, giving 0x0000000080000000 instead of the desired 0xffffffff80000000. I got rid of the `-' and changed the cast to (int32_t) to give proper sign-extension on all architectures and to better reflect the fact that we are range-checking a 32-bit value.
This commit also makes the analogous changes to ng_int{8,16}_parse for consistency.
MFC after: 3 days
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
9c8c302f |
| 10-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Fix some memory leaks Add memory leak detection assitance.
|
Revision tags: release/4.2.0 |
|
#
99cdf4cc |
| 18-Nov-2000 |
David Malone <dwmalone@FreeBSD.org> |
Add the use of M_ZERO to netgraph.
Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Submitted by: archie Approved by: archie
|
#
27121ab1 |
| 17-Nov-2000 |
Brian Somers <brian@FreeBSD.org> |
Go back to using data_len in struct ngpppoe_init_data after discussions with Julian and Archie.
Implement a new ``sizedstring'' parse type for dealing with field pairs consisting of a uint16_t follo
Go back to using data_len in struct ngpppoe_init_data after discussions with Julian and Archie.
Implement a new ``sizedstring'' parse type for dealing with field pairs consisting of a uint16_t followed by a data field of that size, and use this to deal with the data_len and data fields.
Written by: Archie with some input by me Agreed in principle by: julian
show more ...
|
#
cc3bbd68 |
| 24-Oct-2000 |
Julian Elischer <julian@FreeBSD.org> |
Since neither archie nor I work at Whistle any more, change our email addresses to be the more usefu @freebsd.org ones so we can keep getting bug-reports. - man pages to follow..
|
Revision tags: release/4.1.1_cvs |
|
#
d99b0733 |
| 01-Sep-2000 |
Archie Cobbs <archie@FreeBSD.org> |
Avoid free'ing a NULL pointer.
|
#
8db3c6cd |
| 11-Aug-2000 |
Archie Cobbs <archie@FreeBSD.org> |
- Add new unsigned and hex integer parse types; this allows simplifying the bytearray parse type. - Allocate (larger) temporary work buffer dynamically instead of on the stack when comparing to t
- Add new unsigned and hex integer parse types; this allows simplifying the bytearray parse type. - Allocate (larger) temporary work buffer dynamically instead of on the stack when comparing to the default value.
show more ...
|
Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs |
|
#
c1b9e5f2 |
| 13-Mar-2000 |
Archie Cobbs <archie@FreeBSD.org> |
Fix typo: "ng_parse_fixedsstring_info" -> "ng_parse_fixedstring_info"
|