Your message dated Sun, 6 Mar 2011 20:35:22 +0200
with message-id <[email protected]>
and subject line Re: Bug#488462: missed write() return code checks
has caused the Debian Bug report #488462,
regarding missed write() return code checks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
488462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488462
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpri
Version: 1.4.3-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hello!

This patch fixes errors seen while compiling with -D_FORTIFY_SOURCE=2.

Thanks,

-Kees


-- 
Kees Cook                                            @outflux.net
diff -u libpri-1.4.3/debian/patches/bristuff.dpatch libpri-1.4.3/debian/patches/bristuff.dpatch
--- libpri-1.4.3/debian/patches/bristuff.dpatch
+++ libpri-1.4.3/debian/patches/bristuff.dpatch
@@ -677,9 +677,9 @@
 -	else
 -		fputs(tmp, stdout);
 + 	if (__pri_message && pri) {
-+ 	    if (pri->debugfd >= 0)
-+		write(pri->debugfd, tmp, strlen(tmp));
-+ 	    else
++ 	    if (pri->debugfd >= 0) {
++		if (write(pri->debugfd, tmp, strlen(tmp))<0) {};
++ 	    } else
 + 		__pri_message(tmp, pri->span);
 + 	} else {
 +	    fputs(tmp, stdout);
@@ -696,9 +696,9 @@
 -	else
 -		fputs(tmp, stderr);
 + 	if (__pri_error && pri) {
-+ 	    if (pri->debugfd >= 0)
-+ 		write(pri->debugfd, tmp, strlen(tmp));
-+ 	    else
++ 	    if (pri->debugfd >= 0) {
++ 		if (write(pri->debugfd, tmp, strlen(tmp))<0) {};
++ 	    } else
 + 		__pri_error(tmp, pri->span);
 + 	} else {
 +	    fputs(tmp, stderr);

--- End Message ---
--- Begin Message ---
fixed 488462 1.4.9-1
thanks

On Sat, Jun 28, 2008 at 09:01:30PM -0700, Kees Cook wrote:
> Package: libpri
> Version: 1.4.3-2
> Severity: normal
> Tags: patch
> User: [email protected]
> Usertags: origin-ubuntu intrepid ubuntu-patch

> diff -u libpri-1.4.3/debian/patches/bristuff.dpatch 
> libpri-1.4.3/debian/patches/bristuff.dpatch
> --- libpri-1.4.3/debian/patches/bristuff.dpatch
> +++ libpri-1.4.3/debian/patches/bristuff.dpatch

The bristuff patch is no longer included (as of the Squeeze version).
Hence this patch is no longer needed.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir


--- End Message ---

Reply via email to