openwrt / openwrt/firmware-utils

Oversized support list on TPLink Archer C60 devices

Open
#15 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
20
Forks
90
PR merge metrics
No merged PRs in 30d

Description

On file tplink-safeloader.c, at the definitions of C60 devices (line 1404, 1439, 1476), there is a string for supported-list that is bigger than 256 bytes (0x100), but on the partitions definitions right there the limit is 0x100. So how is openwrt compiling this firmware using these definitions, if changing is needed why is not reflected in the code? I've tried to compile the firmware to my C60 v3 and of course shows an error that the support-list exceeds the 256 limit.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/tplink-safeloader.c at the C60 device definitions around lines 1404, 1439, and 1476. Compare each support-list string with the adjacent 0x100 partition limit, then compile the firmware for a C60 v3 to reproduce the reported error. Done means the definitions and their limits are consistent and the firmware build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.