Re: [PATCH] xfsdump: fill in missing strerror() call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 26, 2012 at 04:25:19PM -0600, Alex Elder wrote:
> Nigel Tamplin reported getting a seg fault in xfsrestore when a path
> name was too long.
> 
> Based on the surrounding code, I'm sure strerror(errno) was the
> intended final argument to this call.  This bug has been there
> since the code was first committed.

Seems like mlog needs an attribute marking it as printf-like.  
I'll see if I can come up with a patch for that.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux