aprs.me/lib/aprsme_web/live/map_live
Graham McIntire 133dd2cc0e
Fix integer overflow risk in duration parsing
- Added validation for trail_duration values (1, 6, 12, 24, 48, 168 hours)
- Added validation for historical_hours values (1, 3, 6, 12, 24 hours)
- Created parse_trail_duration and parse_historical_hours helper functions
- Functions return safe defaults (1 hour) for invalid input
- Prevents potential integer overflow from unchecked String.to_integer calls
- Fixed all compilation warnings by properly grouping handle_event clauses

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 10:08:00 -05:00
..
index.ex Fix integer overflow risk in duration parsing 2025-07-14 10:08:00 -05:00
map_helpers.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
packet_utils.ex main map improvements 2025-07-13 14:58:13 -05:00
popup_component.ex integrate /:call to main page 2025-07-13 10:36:58 -05:00