[Slackbuilds-users] Odd character in JSONObject.info file

Vito De Tullio vito.detullio at gmail.com
Sat Feb 16 09:52:14 UTC 2013


Chess Griffin wrote:

> If you open up JSONObject.info in nano (not seen in vim), there is an
> odd character at the start of the PRGNAM= line:
> 
> 1»¿PRGNAM=JSONObject
> 
> While parsing the .info files for PRGNAM, bash appears to try and
> execute this line, which may be a security issue.  Anyway, a simple
> edit of that file in the repo should take care of it.

it's the BOM... but why is it there? shouldn't the file contains just ASCII 
characters??

btw: it "breaks" sbopkg:

# sbopkg -o
[ Checking for obsolete sources ]
This may take a few moments. Press <ESC> to abort.
 52%[==========================================================================================================                                                                                                   
]/var/lib/sbopkg/SBo/14.0/development/JSONObject/JSONObject.info: line 1: 
PRGNAM=JSONObject: command not found
100%[=============================================================================================================================================================================================================]
It appears there are no obsolete sources in /var/cache/sbopkg.
# 



-- 
ZeD



More information about the SlackBuilds-users mailing list