Bug 6104 - LIGO: getmethodargs does not protect against corrupt method or args
: LIGO: getmethodargs does not protect against corrupt method or args
Status: RESOLVED FIXED
: Replica Location
RLS
: development
: Sun Solaris
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-27 20:50 by
Modified: 2008-06-10 22:35 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-27 20:50:34
The RLS server running on ldas.ligo-la.caltech.edu segfaulted. The system is a
Solaris 10 Sparc system.

[grid@ldas.ldas-la bin]$ uname -a
SunOS ldas 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R Solaris

The RLS server is

[grid@ldas.ldas-la bin]$ globus-rls-server -version
Version: 4.6

The core file shows the following:

Program terminated with signal 11, Segmentation fault.
#0  0x0002a7ec in getmethodargs (c=0xcd157a8, mi=0xfe17bf54,
    arglist=0xfe17bf58) at server.c:1089
1089        if (!(buf[i++] = ch))
(gdb) backtrace
#0  0x0002a7ec in getmethodargs (c=0xcd157a8, mi=0xfe17bf54,
    arglist=0xfe17bf58) at server.c:1089
#1  0x0002a3c8 in procreq (a=0x0) at server.c:1033
#2  0xfe9404fc in dead_and_buried () from /lib/libc.so.1
#3  0xfe9404fc in dead_and_buried () from /lib/libc.so.1
------- Comment #1 From 2008-06-10 14:28:09 -------
Do you happen to know what operation was being requested? Strangely it looks
like the method name exceeded the internal buffer.
------- Comment #2 From 2008-06-10 16:12:33 -------
No, sorry.
------- Comment #3 From 2008-06-10 18:13:14 -------
Patch: http://www.isi.edu/~schuler/bug6104/server.c.patch.bug6104

Committed to globus_4_0_branch.
------- Comment #4 From 2008-06-10 22:35:54 -------
Fixed in trunk too.