-
Notifications
You must be signed in to change notification settings - Fork 1
fix(FLEETMDM-009): CU-86akj32d7 2 review findings across 2 files #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,15 @@ quit_application() { | |
|
|
||
| # extract contents | ||
| MOUNT_POINT=$(mktemp -d /tmp/dmg_mount_XXXXXX) | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 𦩠π΄ Verify grammarly-desktop-install.sh script correctness β unattended sudo cp of directory contents lacks error checking on mount In the "extract contents" section, π€ Prompt for AI agentsfix confidence: π‘ 85 medium β react π/π to teach the reviewer |
||
| hdiutil attach -plist -nobrowse -readonly -mountpoint "$MOUNT_POINT" "$INSTALLER_PATH" | ||
| if ! hdiutil attach -plist -nobrowse -readonly -mountpoint "$MOUNT_POINT" "$INSTALLER_PATH"; then | ||
| echo "Error: failed to mount $INSTALLER_PATH" | ||
| exit 1 | ||
| fi | ||
| if [ -z "$(ls -A "$MOUNT_POINT" 2>/dev/null)" ]; then | ||
| echo "Error: mount point $MOUNT_POINT is empty after mounting $INSTALLER_PATH" | ||
| hdiutil detach "$MOUNT_POINT" >/dev/null 2>&1 | ||
| exit 1 | ||
| fi | ||
| sudo cp -R "$MOUNT_POINT"/* "$TMPDIR" | ||
| hdiutil detach "$MOUNT_POINT" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
𦩠π΄ CiscoJabberVersionTransformer overrides InstallerURL implicitly via version mismatch without resetting SHA256
Changed the hardcoded
app.Versionliteral inCiscoJabberVersionTransformer(cisco_jabber_version_transformer.go) from "15.2.1" to "15.2.0" to match the documented value and what osquery reports, fixing the version mismatch. SHA256 is not set or modified anywhere in this transformer (no field is touched besides Version), so there is no stale SHA256 to reset in this file; a full verification of SHA256 consistency would require checking the manifest-building pipeline outside this file, which is out of scope for this single-file fix.π€ Prompt for AI agents
fix confidence: π’ 90 high β react π/π to teach the reviewer