The OpenNET Project / Index page
BSD, Linux, Cisco, Web, Palm, other unix
RUSSIAN version

Search
Выпущена CD-версия OpenNet.RU для оффлайн просмотра.
Для формирования заказа - перейдите по ссылке
.
SOFT - Unix Software catalog
LINKS - Unix resources
TOPIC - Articles from usenet
DOCUMENTATION - Unix guides
News | Tips | MAN | Forum | BUGs | LastSoft | Keywords | BOOKS (selected) | Linux HowTo | FAQ Archive

smbmount problem?


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
X-RDate: Thu, 23 Apr 1998 18:57:37 +0600 (YEKST)
X-UIDL: 35317d34000000b0
Date: Tue, 21 Apr 1998 22:57:11 +0200
From: Czako Krisztian <slapic@fido.hu>
To: BUGTRAQ@NETSPACE.ORG
Subject: Re: smbmount problem?

On Tue, Apr 21, 1998 at 12:05:43PM +0100, Chris Evans wrote:

> # export USER=`perl -e 'print "A" x 10000'`
> # /usr/sbin/smbmount //a/b /
> Segmentation fault

Maybe I'm doing something wrong, but:
slapic@orion:~$ export USER=`perl -e 'print "A" x 10000'`
slapic@orion:~$ smbmount //orion/slapic orion/
Username too long: AAAAAAAAAAAAAAAAAA... etc...

-rwsr-sr-x   1 root     root        10556 Mar 27 04:42 /usr/bin/smbmount

smbmount Version 2.0.2

Debian hamm,
ii  smbfs           2.0.2-5        Mount and umount commands for the smbfs.

in line 530 of smbmount.c:
       if (getenv("USER")) {
                char *user = getenv("USER");
                if (strlen(user) >= sizeof(data.username)) {
                        fprintf(stderr, "Username too long: %s\n", user);
                        exit(1);
                }

So I think it's corrected.

Regards,
Slapic

--
PGP 0x96A9B35D / 37 93 43 2A 81 5C B3 0D  CD C4 94 F8 FA D4 AD C5
To get my key: mail slapic@orion.fido.hu -s "PGPKEY" < /dev/null

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Закладки
Добавить в закладки
Created 1996-2003 by Maxim Chirkov  
ДобавитьРекламаВебмастеруЦУПГИД  
SpyLOG TopList
RB2 Network. RB2 Network.