From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] Fix a bug of executing "ausearch -te today PM" Date: Sat, 18 Oct 2008 11:26:54 -0400 Message-ID: <200810181126.54560.sgrubb@redhat.com> References: <48BFA2C9.90700@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48BFA2C9.90700@cn.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Peng Haitao Cc: audit-list List-Id: linux-audit@redhat.com Hello Peng, On Thursday 04 September 2008 04:56:41 Peng Haitao wrote: > executing "ausearch -te today PM" should be report error, but its result is > equal to the result of executing "ausearch -te today" in audit > 1.7.4. I didn't forget this bug. I wanted to investigate its root cause and see what the problem was. The solution is that I shouldn't have called the "goto set_it;" unless the variable ti was NULL. I have committed the following changes to address this problem and clean up a couple more items: https://fedorahosted.org/audit/changeset/139 Thanks for reporting the bug. -Steve