[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9066 [- Select a component]: use a macro like CHECK_PRINTF for tor_sscanf



#9066: use a macro like CHECK_PRINTF for tor_sscanf
----------------------------------+-----------------------------------------
 Reporter:  x3j11                 |          Owner:                     
     Type:  defect                |         Status:  needs_review       
 Priority:  normal                |      Milestone:  Tor: 0.2.5.x-final 
Component:  - Select a component  |        Version:  Tor: 0.2.4.12-alpha
 Keywords:                        |         Parent:                     
   Points:                        |   Actualpoints:                     
----------------------------------+-----------------------------------------
Changes (by x3j11):

  * status:  new => needs_review


Comment:

 Strategem: add checks to configure.ac to flag if the CC we're using
 supports the format attribute first of all (defining CC_FORMAT_ATTRIBUTE),
 and another if it triggers this warning (defining something like
 CC_FORMAT_ATTRIBUTE_STRICT). Then define something like
 DISABLE_FORMAT_STRICT in the affected test. Then, we have CHECK_SCANF is
 empty if !CC_FORMAT_ATTRIBUTE || (CC_FORMAT_ATTRIBUTE_STRICT &&
 DISABLE_FORMAT_STRICT).

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9066#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs