Displaying 17 results from an estimated 17 matches for "safe_strcat".
2006 Mar 01
1
3.0.21c safe_strcat string overflow w/ "net rpc share migrate files"
When migrating files off an existing Win2K file server using "net rpc
share migrate files" with Samba 3.0.21c on SuSE 9.3 Pro I stumbled
across a number of "string overflow by X in safe_strcat" errors on a few
files with non-ASCII characters:
myserver# net rpc share migrate files myshare --acls --attrs
--timestamps -S win2k -U 'XXX\administrator' --destination=`hostname`
Password:
syncing [myshare] files and directories including ACLs, including DOS
Attributes (preser...
2003 Dec 01
0
No subject
...itch message SMBnttrans (pid 13018)
[2001/07/10 14:04:53, 3]
smbd/nttrans.c:call_nt_transact_set_security_desc(1778)
call_nt_transact_set_security_desc: file = suse1.png, sent 0x80000004
[2001/07/10 14:04:53, 0] smbd/posix_acls.c:create_canon_ace_lists(747)
[2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 1 in safe_strcat [-0]
[2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 2 in safe_strcat [-0]
[2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 2 in safe_strcat [-0]
[2001/07/10 14:04:53, 0] lib/u...
2006 Jul 05
1
smbd & nmbd segfaulting
...b_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
invalid pdb_context specified!
ERROR: string overflow by 1 in safe_strcat [-1074138868]
ERROR: string overflow by 11 in safe_strcat [-1073831924]
ERROR: string overflow by 2 in safe_strcat [-2]
(and so forth for several hundred lines)
ERROR: string overflow by 11 in safe_strcat [-1075417076]
*** glibc detected *** free(): invalid pointer: 0x40017000 ***
Aborted
What...
2004 Jan 27
1
Lots of errors
...or user
replacedusername
Jan 27 10:05:33 localhost samba(pam_unix)[17695]: session opened for user
replacedusername by (uid=0)
Jan 27 10:08:52 localhost samba(pam_unix)[17695]: session closed for user
replacedusername
Jan 27 10:10:31 localhost smbd[17592]: [2004/01/27 10:10:31, 0]
lib/util_str.c:safe_strcat_fn(628)
Jan 27 10:10:31 localhost smbd[17592]: ERROR: string overflow by 1 in
safe_strcat [/]
Jan 27 10:12:35 localhost samba(pam_unix)[17699]: session opened for user
replacedusername by (uid=0)
Jan 27 10:17:26 localhost smbd[17336]: [2004/01/27 10:17:26, 0]
smbd/nttrans.c:call_nt_transact_io...
2000 May 22
1
Inherit Permissions addition
...T_STAT sbuf;
+
+ DEBUG(3, ("connectpath (%s), dirpath (%s)\n", conn->connectpath, conn->dirpath));
+
+ safe_strcpy(path, conn->connectpath, sizeof(path));
+ if(*(conn->dirpath) != '\0')
+ {
+ safe_strcat(path, "/", sizeof(path));
+ safe_strcat(path, conn->dirpath, sizeof(path));
+ }
+
+ DEBUG(3, ("path to stat is (%s)\n", path));
+
+ if(dos_stat(path, &sbuf) != 0)
+ {
+ DEB...
2004 Aug 06
0
warnings compiling icecast-1.3.12
.... -I.. -D_REENTRANT -g -O2
-Wall -c static.c
static.c: In function `send_file_to_socket':
static.c:237: warning: unused variable `suffix'
static.c:235: warning: unused variable `buf'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2
-Wall -c ice_string.c
ice_string.c: In function `safe_strcat':
ice_string.c:337: warning: unused variable `size'
thanks in advance
Mario
<p>__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
--- >8 ----
List archives: http://www.xiph.org/archives...
2004 Jan 29
0
VFS - audit errors?
...d argument
Jan 29 09:58:10 nasrec smbd_audit[19242]: [2004/01/29 09:58:10, 0]
modules/vfs_extd_audit.c:audit_rmdir(177)
Jan 29 09:58:10 nasrec smbd_audit[19242]: vfs_extd_audit: rmdir ./
failed: Invalid argument
Jan 29 09:59:35 nasrec smbd_audit[1603]: [2004/01/29 09:59:35, 0]
lib/util_str.c:safe_strcat_fn(629)
Jan 29 09:59:35 nasrec smbd_audit[1603]: ERROR: string overflow by 1
in safe_strcat [/]
2008 Dec 30
3
Samba 3.2.5 and vscan-clamav.so
Hello
Recently I migrated from samba 3.0.24 to samba 3.2.5 on Debian etch amd64. In
old system I have working samba-vscan used with ClamAV 0.91. Now I have ClamAV
0.94.2. I compiled vscan-clamav successfully, but when I try to connect to the
share, it fails and I get some strange messages in the samba logs: "Error
trying to resolve symbol 'init_samba_module' in
2003 Dec 08
0
Samba works GREAT with these exceptions...
...corporation and replacing it with open-source software.
[2003/12/08 12:34:36, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
I have no idea what this message means... That comes from one of my BDC's
[2003/12/08 12:34:42, 0] lib/util_str.c:safe_strcat_fn(629)
ERROR: string overflow by 1 in safe_strcat [/]
This comes when i am running the vfs object = recycle and deleting a file.
[2003/12/08 12:38:41, 0] passdb/pdb_ldap.c:ldapsam_update_sam_account(1366)
ldapsam_update_sam_account: failed to modify user with uid = nortel$, error: modi...
2005 Apr 06
1
Probles installing Icecast-1.3.12
...#39;:
static.c:237: warning: unused variable 'suffix'
static.c:235: warning: unused variable 'buf'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c http.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c ice_string.c
ice_string.c: In function 'safe_strcat':
ice_string.c:337: warning: unused variable 'size'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c dir.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c vars.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall -c memory.c
gcc -DHAVE_C...
1999 May 20
8
SMBFS stack overflow?
...irectory, if the path structure was long enough (NT can
have a 65535 character path)
While running this the server samba reports the following style of error
message:
ERROR: string overflow by 33677 in safe_strcpy [\etc\inet\inet\inet\inet\inet\inet\inet\inet\inet\]
ERROR: string overflow by 1 in safe_strcat [/etc/inet/inet/inet/inet/inet/inet/inet/inet/inet/]
This is repeated several times, with the value of the first string
overflow increasing on each iteration into a new fs directory.
The client SMBFS reports the following error message:
May 17 00:03:42 core kernel: smb_setup_header: Aieee, xmit l...
2003 Dec 01
0
No subject
..._logon(208)
api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2001/08/20 09:00:36, 0] rpc_server/srv_pipe.c:api_rpcTNP(1215)
api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2001/08/20 09:00:37, 0] smbd/posix_acls.c:create_canon_ace_lists(747)
[2001/08/20 09:00:37, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 6 in safe_strcat [-136421872]
[2001/08/20 09:00:37, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 10 in safe_strcat [-136417440]
[2001/08/20 09:00:37, 0] lib/util_str.c:safe_strcat(910)
ERROR: string overflow by 3 in safe_strcat [-65]
[2001/...
2013 Nov 01
17
[PATCH v2 00/14] xen: arm: 64-bit guest support and domU FDT autogeneration
I''ve addressed all (I think/hope) of the review comments.
The main change is to expose the guest virtual platform (e.g. memory
layout and interrupt usage etc) to the toolstack via the public
interface. This is then used during FDT generation. I have just codified
the current defacto standard layout, it''s probably not the best layout
but any change can be a separate patch/series.
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices
instead of /xen at Stefano''s request.
I also dropped the few patches title HACK etc which weren''t supposed to
be there and fixed up some bits and pieces which folks commented on.
George, WRT the freeze I think this is functionality which we cannot
ship Xen 4.4 without. The impact is entirely constrained to the
2003 Dec 01
0
No subject
...List-Archive: http://lists.samba.org/pipermail/samba/
On Fri, 27 Jul 2001, jsack wrote:
> Ok, now I've got a little more debugging info.
> smbcontrol smbd DEBUG 10
> generates 500k in a hurry doesn't it. Maybe it's because I get
> a lot of
> string overflow by NN in safe_strcat
> messages? hmmm, izzat something I'm (or the PDC is) doing wrong?
>
> Oh well,..
> ---<log extract>
> 07:54, 10] smbd/uid.c:sid_to_gid(494)
> sid_to_gid: winbind lookup for sid
> S-1-5-21-1871280751-1872973109-10498456-1035 failed - trying local.
> [2001/07/27 0...
2003 Dec 01
0
No subject
...been careful to try to add users that are in /etc/passwd.
The add user script works quite nicely, thank you.
Ok, now I've got a little more debugging info.
smbcontrol smbd DEBUG 10
generates 500k in a hurry doesn't it. Maybe it's because I get
a lot of
string overflow by NN in safe_strcat
messages? hmmm, izzat something I'm (or the PDC is) doing wrong?
Oh well,..
---<log extract>
07:54, 10] smbd/uid.c:sid_to_gid(494)
sid_to_gid: winbind lookup for sid
S-1-5-21-1871280751-1872973109-10498456-1035 failed - trying local.
[2001/07/27 09:07:54, 0] smbd/posix_acls.c:create_c...
2012 Mar 19
24
[PATCHv2 00/11] arm: pass a device tree to dom0
This series of patches makes Xen pass a (somewhat) valid device tree
to dom0. The device tree for dom0 is the same as the one supplied to
Xen except the memory and chosen nodes are adjusted appropriately.
We don''t yet make use of the device tree to map MMIO regions or setup
interrupts for the guest and we still include the UART used for Xen''s
console.
Note that loading Linux