pcp
[Top] [All Lists]

[PATCH] fix buglet shown by gcc warnings

To: Michael Newton <kimbrr@xxxxxxx>, Mark Goodwin <markgw@xxxxxxx>
Subject: [PATCH] fix buglet shown by gcc warnings
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Thu, 30 Nov 2006 14:19:18 +1100
Cc: pcp@xxxxxxxxxxx
Organization: Aconex
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Hi,

There's a bug in the libpcp_trace tag name length checks - due to the
limited size of the variable being assigned, we wont notice and error
out on names which are too long.

This is being reported as a warning by gcc, as shown in the top of the
patch attached.

cheers.

-- 
Nathan

Attachment: fix-trace-warnings
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix buglet shown by gcc warnings, Nathan Scott <=