AVR C Runtime Library - Bugs: bug #28058, parameter checking in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #28058: parameter checking in pgm_read_xxx()
| Submitter: | Jan Waclawek <wek> | ||
| Submitted: | Fri 20 Nov 2009 10:32:06 AM UTC | ||
| Category: | Feature Request | Severity: | 3 - Normal |
| Priority: | 9 - Immediate | Item Group: | Header files |
| Status: | In Progress | Percent Complete: | 30% |
| Assigned to: | None | Open/Closed: | Open |
| Release: | Any | Fixed Release: | None |
|
Wed 23 Feb 2011 06:20:57 PM UTC, comment #3: |
Eric Weddington <arcanum> |
|
Sat 22 May 2010 01:01:21 PM UTC, comment #2: Although not completely to the topic, as it again is related to <avr/pgmspace> , I would propose also the following addition:
and rename the existing strlen_P() function to __strlen_P(s) (including the appropriate change in library function).
|
Jan Waclawek <wek> |
|
Wed 28 Apr 2010 03:20:50 PM UTC, comment #1: I would also propose adding the following function to <avr/pgmspace.h>, to allow for proper reading of PROGMEM char-s
|
Jan Waclawek <wek> |
|
Fri 20 Nov 2009 10:32:06 AM UTC, original submission:
The pgm_read_xxx() functions in <avr/pgmspace.h> are currently implemented as macros, casting the parameter to (uint16_t).
|
Jan Waclawek <wek> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found

Renamed strlen_P to __strlen_P, added new inline function strlen_P to avr/pgmspace.h header file, as per comment #2. Committed. Comments #0, #1 still need to be addressed.