summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authornate <nate@metis>2026-02-25 11:31:54 -0800
committerVictor Kareh <[email protected]>2026-02-25 16:41:50 -0500
commitee3f3e2e816f4425df2a33ca3255764d8139f5c4 (patch)
treea455272c4c06ad70100750880e5b8f2121a181b2 /python
parent60cde2ba0f24946272e925c352129fcad18a7c4f (diff)
downloadlibmateweather-ee3f3e2e816f4425df2a33ca3255764d8139f5c4.tar.bz2
libmateweather-ee3f3e2e816f4425df2a33ca3255764d8139f5c4.tar.xz
metar: fix pointer offset in metar_finishHEADmaster
The pointer offset for the `METAR/SPECI` search key is 6 characters too short. The search key is now `<raw_text>METAR KPDX` (21 chars), but the code still advances by 15 characters, which was correct for the old format `<raw_text>KPDX` This lands the pointer on `KPDX 161753Z...` instead of `161753Z...`. The regex parser skips the unrecognized tokens so it often still works, but it passes garbage to metar_parse and could cause subtle parser failures.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions