#1002 Wrong buffer size in has_phy_80211_subdir()
Closed: Fixed None Opened 12 years ago by jhrozek.

A buffer is defined as:

char phy80211_path[SYSFS_IFACE_PATH_MAX];

But later data is snprintf-ed into it with:

 ret = snprintf(phy80211_path, SYSFS_SUBDIR_PATH_MAX,
                "%s/%s", sysfs_path, PHY_80211_SUBDIR);

The buffer should have been declared with size of SYSFS_SUBDIR_PATH_MAX


Fields changed

owner: somebody => jhrozek

Fields changed

patch: 0 => 1
status: new => assigned

Fixed by 5d98dce

component: SSSD => Service Monitor
milestone: NEEDS_TRIAGE => SSSD 1.7.0
resolution: => fixed
status: assigned => closed

Fields changed

rhbz: => 0

Metadata Update from @jhrozek:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.7.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2044

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata