Opened 15 years ago

Closed 15 years ago

#124 closed defect (fixed)

rpcclient.exe crashes on "testme" command

Reported by: Herwig Bauernfeind Owned by: nobody
Priority: minor Milestone:
Component: Samba Client Command line utilities Version: 3.0.37
Keywords: Cc:

Description (last modified by Herwig Bauernfeind)

Run:

rpcclient server --user=herwig%xxxx --command="testme"

results in

testme

Killed by SIGSEGV
pid=0x113a ppid=0x1136 tid=0x0001 slot=0x0103 pri=0x0200 mc=0x0001
D:\SAMBA\RPCCLIENT.EXE
RPCCLIEN 0:000136d6
cs:eip=005b:000236d6      ss:esp=0053:002ef864      ebp=002ef8b8
 ds=0053      es=0053      fs=150b      gs=0000     efl=00012206
eax=00000007 ebx=001c11f0 ecx=113a0002 edx=006d013c edi=00000000 esi=002ef87c
Process has been dumped

The bug is located in http://svn.netlabs.org/samba/browser/branches/samba-3.0/source/rpcclient/cmd_test.c where line 34 is crashing the program. Several other commands have been found to be working so far (not all commands tested yet).

The same bug exists in Samba 3.3.x.

Change History (5)

comment:1 by Herwig Bauernfeind, 15 years ago

Description: modified (diff)

comment:2 by Herwig Bauernfeind, 15 years ago

Component: UnknownCommand line utilities

comment:3 by Silvan Scherrer, 15 years ago

what exactly should this testme command do? i looked at the code and see thats it's a null pointer exception. which should also be the case on other os

comment:4 by Herwig Bauernfeind, 15 years ago

AFAIK nothing. However it shouldn't crash...

comment:5 by Silvan Scherrer, 15 years ago

Resolution: fixed
Status: newclosed

fixed for samba 3.0, 3.3 doesn't have the bug

Note: See TracTickets for help on using tickets.