Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231861

Summary: net-proxy/squidguard 1.3-r3 - fix crash and output of progress bar
Product: Gentoo Linux Reporter: Yar Odin <yarodin>
Component: New packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: squidguard-1.3-r3.ebuild"

Description Yar Odin 2008-07-15 13:17:51 UTC
A patch has been released to fix two problems:
1.:
Squid was complaining about the output of the progress bar (going to 
stdout and threrefore going to squid). The output is no sent to stderr.
Thank you, Marlon Dutra, for reporting this and proposing the fix.

2.:
SquidGuard crashed when an URL was encountered ending in a "://" with
the error:
sgDiv.c:154: parseLine: Assertion `ndx < strlen(p)' failed."
This has been fixed in sgDiv.c.in. If "://" is found the programm checks 
if these are the last three characters of the URL.
Thank you, Radosaw Gancarz, for reporting this.

This patch also including previous patch - http://bugs.gentoo.org/show_bug.cgi?id=228593

Reproducible: Always
Comment 1 Yar Odin 2008-07-15 13:18:13 UTC
Created attachment 160437 [details]
squidguard-1.3-r3.ebuild"
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-07-16 21:13:30 UTC
Fixed in cvs, thanks!

The revision was commited with stable keywords because it fixes a squidGuard crash.