New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 847892 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Spacey flagging mandatory trailing spaces in PDF XREF tables

Project Member Reported by tsepez@chromium.org, May 30 2018

Issue description

See, say, https://tricium-prod.appspot.com/run/5080917185921024

The PDF file format requires that these XREF table entries be exactly 20 bytes long, with a trailing space when there is a LF ending (as opposed to CRLF). This is generating a bunch of spurious warnings at present.


 

Comment 2 by tsepez@chromium.org, May 30 2018

Cc: thestig@chromium.org
Components: -Infra Infra>CodeAnalysis
Labels: Tricium
Status: Available (was: Untriaged)
Owner: qyears...@chromium.org
Status: Started (was: Available)
Summary: Spacey flagging mandatory trailing spaces in PDF XREF tables (was: Spacey flagging manditory trailing spaces in PDF XREF tables)
Ah, sorry for the noise :-)

The quick fix here is to edit the "trailing spaces" check file type blacklist.

CL: https://chromium-review.googlesource.com/#/c/infra/infra/+/1079730
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/295307b93f4713919ddd11d4c40617fe45a066e1

commit 295307b93f4713919ddd11d4c40617fe45a066e1
Author: Quinten Yearsley <qyearsley@chromium.org>
Date: Fri Jun 01 00:44:13 2018

[tricium spacey] Don't check for trailing spaces in .pdf files

Bug:  847892 
Change-Id: I5f9f7d20ce11daaaafe20f6197498218312dc189
Reviewed-on: https://chromium-review.googlesource.com/1079730
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>

[modify] https://crrev.com/295307b93f4713919ddd11d4c40617fe45a066e1/go/src/infra/tricium/functions/spacey/spacey.go
[modify] https://crrev.com/295307b93f4713919ddd11d4c40617fe45a066e1/go/src/infra/tricium/functions/spacey/spacey_test.go

Status: Fixed (was: Started)
New version of Spacey deployed; this should be fixed now.

Sign in to add a comment