Opened 10 years ago
Closed 10 years ago
Last modified 10 years ago
#12300 closed Patch - Bug Fix (fixed)
Patch: Running mythfilldatabase can expose Schedules Direct userid
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27.5 |
Component: | MythTV - Mythfilldatabase | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
In (at least) three places in libs/libmythtv/datadirect.cpp, the temporary file name used will be logged when running mythfilldatabase -v general --loglevel info. Most commonly at line 1044. The user's SD userid will be part of that file name:
2014-10-10 20:10:17.183423 I [12014/12014] CoreContext datadirect.cpp:1063 (DDPost) - Writing to temporary file: [/tmp/mythtv_ddp_2SE2oM/mythtv_dd_cache_1_<yourSdUserIdHere>_UTC_20141009010942_to_20141026010942]
Suggest the attached patch, as the file name is already under a randomly selected directory in /tmp and also includes the start and end times for the current session.
Tested on: v0.28-pre-2303-g0629905. To test, the backend must have more than 1 source. Single source backends don't create the file name in the same format.
Attachments (1)
Change History (7)
Changed 10 years ago by
Attachment: | mfdb-remove-login.patch.v0 added |
---|
comment:1 Changed 10 years ago by
Owner: | changed from stuartm to paulh |
---|---|
Status: | new → accepted |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 10 years ago by
Milestone: | unknown → 0.27.5 |
---|
Note: See
TracTickets for help on using
tickets.
In 6750b358ec33c09bd651507ed57eb993ae5e5a39/mythtv: