possible buffer overflow?
This commit is contained in:
parent
481e681121
commit
4b912ed24d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static gboolean session_connect()
|
|||
SmcSaveCompleteProcMask |
|
||||
SmcShutdownCancelledProcMask,
|
||||
&cb, oldid, &ob_sm_id,
|
||||
SM_ERR_LEN, sm_err);
|
||||
SM_ERR_LEN-1, sm_err);
|
||||
g_free(oldid);
|
||||
if (sm_conn == NULL)
|
||||
ob_debug("Failed to connect to session manager: %s\n", sm_err);
|
||||
|
|
Loading…
Reference in a new issue