Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1617

'svn status' segfault

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • all
    • 0.35
    • libsvn_wc
    • None

    Description

      Sit in the root of a working copy.  Run 'svn status ..', where '..' is not a
      working copy.  Instant segfault.
      
      (At libsvn_wc/status.c:623, entry is NULL and is being deref'd):
      
      
      #0  handle_dir_entry (eb=0x81aa5a8, adm_access=0x8078ae0, name=0x8078928 "..", 
          dir_entry=0x8078dd0, entry=0x0, ignores=0x81aa840, descend=0, get_all=0, 
          no_ignore=1, status_func=0x4002b0dc <tweak_status>, 
          status_baton=0xbfffe290, cancel_func=0x804d8f8 <svn_cl__check_cancel>, 
          cancel_baton=0x0, pool=0x8071808) at subversion/libsvn_wc/status.c:623
      #1  0x40044b96 in get_dir_status (eb=0x81aa5a8, parent_entry=0x0, 
          adm_access=0x8078ae0, entry=0x8078928 "..", ignores=0x81aa840, descend=0, 
          get_all=0, no_ignore=1, skip_this_dir=1, 
          status_func=0x4002b0dc <tweak_status>, status_baton=0xbfffe290, 
          cancel_func=0x804d8f8 <svn_cl__check_cancel>, cancel_baton=0x0, 
          pool=0x806d158) at subversion/libsvn_wc/status.c:777
      #2  0x40045a97 in close_edit (edit_baton=0x81aa5a8, pool=0x806d158)
          at subversion/libsvn_wc/status.c:1539
      #3  0x400bda46 in close_edit (edit_baton=0x81aa910, pool=0x806d158)
          at subversion/libsvn_delta/cancel.c:335
      #4  0x4002b393 in svn_client_status (result_rev=0x0, path=0x8062608 "..", 
          revision=0xbfffe310, status_func=0x8050c08 <print_status>, 
          status_baton=0xbfffe300, descend=1, get_all=0, update=0, no_ignore=0, 
          ctx=0xbfffe4d0, pool=0x806d158) at subversion/libsvn_client/status.c:231
      #5  0x08050d0f in svn_cl__status (os=0x8060700, baton=0x0, pool=0x806d158)
          at subversion/clients/cmdline/status-cmd.c:108
      #6  0x0804e30f in main (argc=0, argv=0xbfffe604)
          at subversion/clients/cmdline/main.c:1214
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sussman Ben Collins-Sussman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: