By: Michael Lynch <git@mtlynch.io>
Harden upload pixel-limit check and drop IdentityPath Use 64-bit math in NewProcessablePhoto's resolution check so a crafted JPEG header can't overflow a 32-bit int past the limit, preserve the underlying decode error instead of a bare sentinel, and replace the redundant uploads.IdentityPath wrapper with the existing mediastore.NewRelativeOutputPathFromFilename so both entry points match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>