Project

General

Profile

Actions

Bug #1866

closed

libsmbns is passing constant string to mktemp(3C)

Added by Yuri Pankov almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
2011-12-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

libsmbns is passing constant string to mktemp(3C), which makes smbd crash when compiled using gcc or SunStudio cc with -xstrconst.

Actions #1

Updated by Rich Lowe almost 10 years ago

And as Yuri pointed out on IRC, the manual page suggests that you do precisely the wrong thing, so it should be fixed too (doing it in the same bug seems fine).

Actions #2

Updated by Rich Lowe almost 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Resolved in r13550 commit:84f53d070f62

Actions

Also available in: Atom PDF