Displaying 4 results from an estimated 4 matches for "start_key".
2014 Jan 29
2
[Bug 890] New: Bug in ulogd_filter_IP2BIN
...the issue (attachment too):
--- ulogd-2.0.3.orig/filter/ulogd_filter_IP2BIN.c 2013-06-18
16:52:50.269920891 -0400
+++ ulogd-2.0.3/filter/ulogd_filter_IP2BIN.c 2014-01-29 10:49:37.641807142
-0500
@@ -205,7 +205,7 @@
int fret;
/* Iter on all addr fields */
- for(i = START_KEY; i < MAX_KEY; i++) {
+ for(i = START_KEY; i <= MAX_KEY; i++) {
if (pp_is_valid(inp, i)) {
fret = ip2bin(inp, i, i-START_KEY);
if (fret != ULOGD_IRET_OK)
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?t...
2009 Mar 23
0
regpatch problem ?
...not used, so regpatch defaults to local
registry, wich doesn't exists, as i'm using regpatch standalone
What about something like that ?
if (remote) {
h = reg_common_open_remote (remote, ev_ctx, cmdline_lp_ctx,
cmdline_credentials);
+ } else if (file != NULL) {
+ start_key = reg_common_open_file(file, ev_ctx, cmdline_lp_ctx,
cmdline_credentials);
} else {
h = reg_common_open_local (cmdline_credentials, ev_ctx,
cmdline_lp_ctx);
}
But the problem is that start_key is a reg_key struct, and
reg_diff_apply needs a reg_context struct, so start_key has t...
2025 Jan 16
0
[Bug 1786] New: ulogd_filter_HWHRD out of bounds array access in hwmac_str
...ems that there is an out of bounds array access in ulogd_filter_HWHDR.c
which leads to ulogd2 being terminated with SIGABRT and the following message
when it is compiled with -D_FORTIFY_SOURCE=3:
*** buffer overflow detected ***
The hwac_str array is defined as:
static char hwmac_str[MAX_KEY - START_KEY][HWADDR_LENGTH];
Which translates to:
static char hwmac_str[4 - 2][128];
i.e. an array of two elements, valid indexes 0, 1.
Adding a debug print statement in the parse_mac2str function:
fprintf(stderr, "using hwmac_str index %d\n", okey - START_KEY);
will result in the following...
2011 May 14
3
regpatch writing to local registry hive with -F not working (registery-utils 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1)
Hi,
I was hoping I could modify a locally mounted registry hive using
regpatch and a .reg file but the -F argument seems to have no function.
(Strace shows it ignores it and just operates
on /var/lib/samba/private/hklm.ldb)
Below is output with debug on.
rfm6 at ubuntuSSDx64:cp /mnt/xp/WINDOWS/system32/config/software /tmp/software
rfm6 at ubuntuSSDx64:/tmp/config$ sudo regpatch -d=10 -F