ports/134133: svn commit crashes.

KOIE Hidetaka koie at suri.co.jp
Fri May 1 11:00:09 UTC 2009


>Number:         134133
>Category:       ports
>Synopsis:       svn commit crashes.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 01 11:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KOIE Hidetaka
>Release:        8.0-CURRENT
>Organization:
SURIGIKEN
>Environment:
FreeBSD guriandgura 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Feb  5 04:32:41 JST 2009     koie at guriandgura:/usr/obj/usr/src/sys/GURIANDGURA  amd64
>Description:
koie at guriandgura% svn commit -m "comment"  xxx.c
セグメントエラー(coreを出力しました)
koie at guriandgura%
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rpub work/subversion-1.6.1/subversion/svn/util.c work.koie/subversion-1.6.1/subversion/svn/util.c
--- work/subversion-1.6.1/subversion/svn/util.c	2009-05-01 19:46:19.343032366 +0900
+++ work.koie/subversion-1.6.1/subversion/svn/util.c	2009-05-01 19:37:26.564747690 +0900
@@ -753,7 +753,7 @@ svn_cl__get_log_message(const char **log
          that follows it.  */
       truncate_buffer_at_prefix(&(log_msg_buf->len), log_msg_buf->data,
                                 EDITOR_EOF_PREFIX);
-      cleanmsg(NULL, (char*)*log_msg_buf->data);
+      cleanmsg(NULL, (char*)log_msg_buf->data);
 
       /* Make a string from a stringbuf, sharing the data allocation. */
       log_msg_str->data = log_msg_buf->data;


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list