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

Issue 923577 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

frecon undefined behavior in sanitizer images

Project Member Reported by manojgupta@chromium.org, Jan 18 (4 days ago)

Issue description

I booted amd64-generic-asan image and browsed to (though ssh) /var/log/asan and found this error in frecon

/mnt/host/source/src/platform/frecon/image.c:60:14: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /mnt/host/source/src/platform/frecon/image.c:60:14


To repro:
Download the qemu image from one of the amd64-generic-asan builder artifacts at https://cros-goldeneye.corp.google.com/chromeos/legoland/builderHistory?buildConfig=amd64-generic-asan&buildBranch=master

Boot it via cros_vm.  Start vnc and browse as guest .
In parallel, do ssh to the VM in the chroot and go to /var/log/asan/.
One of the asan log files has error messages about frecon.
 

Comment 1 by manojgupta@chromium.org, Jan 18 (4 days ago)

Components: OS>Kernel>Graphics

Comment 2 by marcheu@google.com, Jan 18 (4 days ago)

Owner: dbehr@chromium.org
Dominik this seems to be trivially fixable, can you take a look?

Sign in to add a comment