Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.7/Tie/Hash.pm line 221 #8193

Closed
p5pRT opened this issue Nov 6, 2005 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 6, 2005

Migrated from rt.perl.org#37620 (status was 'resolved')

Searchable as RT37620$

@p5pRT
Copy link
Author

p5pRT commented Nov 6, 2005

From root@mail.uadec.mx

It looks that this bug report is similar to 37526
But I would like to deswcribe mine problem, I'm using OWM
(OpenWebMail) for the web mail service at the university I work at.
trying to login to mya mail account in the server the only thing I get
is the following error​:

Software error​:
panic​: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.7/Tie/Hash.pm line 221.

For help, please send mail to the webmaster (root@​mail.uadec.mx), giving this error message

So, due the critical of the perl script that is used in the OWM interface
I categorize it as critical, at least from the Denial of Service it is
producing to me.

Perl Info

Flags:
    category=core
    severity=critical

Site configuration information for perl v5.8.7:

Configured by root at Thu Jun 30 11:15:34 CDT 2005.

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=netbsd, osvers=2.0, archname=i386-netbsd
    uname='netbsd mail.uadec.mx 2.0 netbsd 2.0 (mail) #0: mon mar 14 15:12:07 cst 2005 root@mail:usrsrcsysarchi386compilemail i386 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/pkg/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe -I/usr/pkg/include'
    ccversion='', gccversion='3.3.3 (NetBSD nb3 20040520)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/pkg/lib'
    libpth=/usr/pkg/lib /lib /usr/lib
    libs=-lm -lcrypt -lutil -lc -lposix
    perllibs=-lm -lcrypt -lutil -lc -lposix
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E '
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared  -L/usr/pkg/lib'

Locally applied patches:
    


@INC for perl v5.8.7:
    /usr/lib/perl5/5.8.7/i386-netbsd
    /usr/lib/perl5/5.8.7
    /usr/lib/perl5/site_perl/5.8.7/i386-netbsd
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl
    .


Environment for perl v5.8.7:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
    PERL_BADLANG (unset)
    SHELL=/bin/csh

@p5pRT
Copy link
Author

p5pRT commented Nov 9, 2005

From @smpeters

[root@​mail.uadec.mx - Sat Nov 05 20​:41​:10 2005]​:

This is a bug report for perl from baoengb@​yahoo.com.mx
generated with the help of perlbug 1.35 running under perl v5.8.7.

-----------------------------------------------------------------
[Please enter your report here]

It looks that this bug report is similar to 37526
But I would like to deswcribe mine problem, I'm using OWM
(OpenWebMail) for the web mail service at the university I work at.
trying to login to mya mail account in the server the only thing I get
is the following error​:

Software error​:
panic​: sv_setpvn called with negative strlen at
/usr/lib/perl5/5.8.7/Tie/Hash.pm line 221.

For help, please send mail to the webmaster (root@​mail.uadec.mx),
giving this error message

So, due the critical of the perl script that is used in the OWM
interface
I categorize it as critical, at least from the Denial of Service it is
producing to me.

Do you have some example code demonstrating the problem? Without some
Perl code to test with, its very difficult to guess at what the problem
could be.

@p5pRT
Copy link
Author

p5pRT commented Nov 9, 2005

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Nov 17, 2005

From enrique@mail.uadec.mx

Software error​:
panic​: sv_setpvn called with negative strlen at
/usr/lib/perl5/5.8.7/Tie/Hash.pm line 221.

For help, please send mail to the webmaster (root@​mail.uadec.mx),
giving this error message

So, due the critical of the perl script that is used in the OWM
interface
I categorize it as critical, at least from the Denial of Service it is
producing to me.

Do you have some example code demonstrating the problem? Without
some Perl code to test with, its very difficult to guess at what the
problem could be.

Hi,

I have no code for reproducing the error, nevertheless I figure it out that
this is not a perl bug, I test the application in perl that showed the error
and it looks that is application code corruption.

--
Open WebMail Project (http​://openwebmail.org)

@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2005

@smpeters - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant