bugGNU arch -- a revision control system - Bugs: bug #6189, dav abs_path function needs to...

 
 

bug #6189: dav abs_path function needs to handle NULL cwd

Submitted by:  Colin Walters <walters>
Submitted on:  Mon 27 Oct 2003 06:43:19 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicOpen/Closed: Closed
Release: 
Fixed Release: 
Merge Request?: yes -- merge from my archive
Your Archive Name: walters@verbum.org--2003
Your Archive Location: http://arch.verbum.org/arch
Assigned to: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 25 Nov 2003 09:29:08 PM UTC, comment #2:

merged into lord@emf.net--2003b/tla--devo--1.1--patch-205

Robert Collins <robertc>
Thu 13 Nov 2003 11:32:24 PM UTC, comment #1:

I've merged your walters@verbum.org--2003/tla--mainline--1.1--patch-46 as rbtcollins@hotmail.com--barch/tla--integration--1.1--patch-12

Robert Collins <robertc>
Mon 27 Oct 2003 06:43:19 AM UTC, original submission:

Valgrind gives the following:

<walters> ==2636== Invalid write of size 1
<walters> ==2636== at 0x40021F07: strcpy (mac_replace_strmem.c:174)
<walters> ==2636== by 0x8099D8F: dirfold (pfs-dav.c:764)
<walters> ==2636== by 0x8099C63: abs_path (pfs-dav.c:731)
<walters> ==2636== by 0x8098EAB: pfs_file_contents (pfs-dav.c:265)
<walters> ==2636== Address 0x4142957E is 0 bytes after a block of size 18 alloc'd

This is due to the dirfold function walking over a non-prefixed path. I've fixed this in my archive in patch-46.

Colin Walters <walters>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 25 Nov 2003 09:29:08 PM UTCrobertcStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1