[Lxr-dev] [ lxr-Bugs-3561877 ] Identifier query faulty with CVS tree
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2012-08-26 15:36:04
|
Bugs item #3561877, was opened at 2012-08-26 08:36 Message generated for change (Tracker Item Submitted) made by ajlittoz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3561877&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: current cvs Status: Open Resolution: None Priority: 6 Private: No Submitted By: Andre-Littoz (ajlittoz) Assigned to: Andre-Littoz (ajlittoz) Summary: Identifier query faulty with CVS tree Initial Comment: With a source-tree under CVS, identifier search may return no result or erroneous results even if the looked-for identifier exists. This happens when the set of versions is defined by a function. This function returns the correct set when LXR is processing a file (under source) but only "head" in all other cases (directory under source, or ident). This is caused by the security check "clean_release" in Common.pm which filters the requested version against those in {'v'}{'range'}. In the mentioned cases, {'range'} is empty and default 'head' is returned. It really matters only for ident since it is always possible to change default version (from directory) once we hit a file. Suggested fix: in clean_release, test if repository is CVS and script is source; if yes, accept any version. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3561877&group_id=27350 |