mirror of
https://github.com/google/pebble
synced 2026-10-09 13:31:27 +02:00
@@ -31,7 +31,7 @@ DEFINE_SYSCALL(DataLoggingSessionRef, sys_data_logging_create, uint32_t tag,
|
||||
|
||||
DEFINE_SYSCALL(void, sys_data_logging_finish, DataLoggingSessionRef session_ref) {
|
||||
// TODO: It would be nice to verify the session itself, because they could be
|
||||
// passing us any memory address (not necesarilly a valid DataLoggingSession).
|
||||
// passing us any memory address (not necessarily a valid DataLoggingSession).
|
||||
// An evil developer could potentially use this to confuse the data_logging
|
||||
// logic, and do evil things with kernel rights. However, it's pretty unlikely
|
||||
// (especially since our executable code lives in microflash, and hence can't
|
||||
|
||||
Reference in New Issue
Block a user